CLI scripts

To execute Cover CLI, the following scripts are available:

  • dcover.bat (Windows)
  • dcover (Linux/macOS)

These should be run in the root of a single-module project or within a module of a multi-module project.

Windows

Example:

dcover create com.acme.MyClass --test-output-dir=src\test\diffblue

Create tests only for the class com.acme.MyClass and save those tests to src\test\diffblue (default: src\test\java).

Linux/macOS

Example:

dcover create com.acme.MyClass --test-output-dir=src/test/diffblue

Create tests only for the class com.acme.MyClass and save those tests to src/test/diffblue (default: src/test/java)

results matching ""

    No results matching ""