Links

Test classes location

How to locate the tests created by Cover Plugin for IntelliJ, within your project.
The tests created by Cover Plugin for IntelliJ will be placed in a location within the project according to the following:
  1. 1.
    If a test source directory (src/test/java) exists in the current project module, Diffblue Cover will add the tests there (project_root/module/src/test/java).
  2. 2.
    If no existing test source directory could be found in any dependent module, Diffblue Cover will create a new test source directory in the same module as the class for which tests are written (project_root/module_for_MUT/src/test/java).
We recommend always explicitly creating a test source directory src/test/java in the relevant module so that Cover Plugin for IntelliJ knows where to put new test classes.
Diffblue Cover does not add a duplicate test if exactly the same test already exists.