Offline license activation
Last updated
Was this helpful?
Last updated
Was this helpful?
Licensing Diffblue Cover in the offline mode detailed here is available only when purchased with the offline option. To use Diffblue Cover in an offline environment, such as a high-security or air-gapped network, requires this offline option.
Otherwise Diffblue Cover requires a with the Diffblue licensing server each time it is used.
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 and install .
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.
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 a license.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).
Obtain your license file and license key. To activate Diffblue Cover offline you will require your license file ls_activation.lic
, along with your license key XXXX-XXXX-XXXX-XXXX
. These can be obtained from:
- Your Diffblue Cover welcome email received following license purchase.
- Your organization's internal file/app/license store.
- Or contact for help finding this information.