Offline license activation
Licensing Diffblue Cover in the offline mode detailed here is available only when purchased with the Enterprise Edition offline option. To use Diffblue Cover in an offline environment, such as a high-security or air-gapped network, requires this Enterprise Edition offline option.
Otherwise Diffblue Cover requires a remote license check with the Diffblue licensing server each time it is used.
Activating an offline license
This section describes how to activate a Diffblue Cover offline license.
Licensing the Diffblue Cover Plugin for IntelliJ in offline mode is performed using Cover CLI.
Install Diffblue Cover Plugin and install Diffblue Cover CLI.
Before entering a license key, completely exit all instances of the IntelliJ IDE. Note that closing the project window is not sufficient.
Follow the Cover CLI steps detailed in the tab above to activate your license in offline mode, using the Diffblue Cover CLI command
dcover activate --offline
Restart the IntelliJ IDE.
You're now ready to write tests using Diffblue Cover Plugin.
Distributing an offline license
This section describes how to make an offline Enterprise license for Diffblue Cover available to users without them requiring their own activation or access to the license key. This is typically useful when users have managed environments where new software can be rolled out to their environment, or as an alternative to environment variables in a CI environment.
First, the license will need to be activated as above using the Diffblue Cover CLI and provided
ls_activation.lic
and license key, e.g.:dcover activate --offline <DIFFBLUE LICENSE KEY>
this will put alicense.key
file into<USER_HOME>/.diffblue/
.The
license.key
file above can now be placed into the<USER_HOME>/.diffblue
directory of any user and this will be recognized by Diffblue Cover (Plugin and CLI).
Last updated
Was this helpful?