Core Maintenance

Install

1. Install Diffblue Cover CLI

  1. Download the Diffblue Cover CLI .exe installer or .zip file from: - The Diffblue website - Free Trial version. - The link sent to you via your Diffblue Cover welcome email. - Your organization's internal file/app store.

  2. If you use the installer, run the .exe installer and follow the on-screen prompts - during installation you can select where to install Diffblue Cover.

  3. If you use the archive file, extract the .zip file to an appropriate installation folder. Add the install folder path to your PATH environment variable or create a new %DCOVER% environment variable and add that to PATH.

  4. When you're done, restart your PC. Once complete, open Windows PowerShell and enter dcover version to check the install and PATH configuration - if all is OK, Cover will display the current version.

2. Apply a license

Diffblue Cover requires a remote license check with the Diffblue licensing server each time it's used. For help troubleshooting license keys, network connections, and proxy server settings, as well as details of offline licensing (Enterprise Edition only), see Licensing.

  • To activate your license, open Windows PowerShell (Windows) or Terminal (macOS/Linux) and enter the command dcover activate <license-key> - replace <license-key> with the license key provided in your welcome email or provided by your organization.

  • Entering multiple different license keys will overwrite the existing key.

  • You can check your license status by running the command dcover license

Update

Updating Cover CLI may take a few minutes to complete and you won't be able to create any tests for your projects while the update is progressing.

  1. Using the link provided by Diffblue, download the new Diffblue Cover CLI file - either the .exe installer or .zip archive, as needed.

  2. If you use the installer, run the .exe installer and follow the on-screen prompts.

  3. If you use the archive file, extract the .zip file to your existing Cover CLI folder.

  4. When your done, restart your PC.

Last updated