Skeleton Tests now available in the Diffblue Cover IntelliJ plugin

Skeleton tests are intended as a helpful starting point for users to write their own tests. They simply consist of a call to the method under test, with all variables initialized to null or zero, and TODO comments reminding the user to populate the “arrange” section and write some assertions.

There are two ways of creating skeleton tests in the Diffblue Cover IntelliJ plugin:

  • Indirectly, via the usual "Write Tests" request. Diffblue Cover analyses the method and related classes to write tests. If Diffblue Cover is unable to write complete tests (or partial tests if this option is enabled), it falls back to offering a single skeleton test for the method instead. This means that Diffblue Cover always creates at least one test for all your methods.

For further information, and an example of a skeleton test, please see our documentation at: /knowledge-base/intellij/skeleton-tests/

Developer Edition trial available

We are delighted to now offer a 14-day trial version of our Developer Edition, which includes the Diffblue Cover CLI, as part of our new licensing option. We're really excited that you can now "try before you buy"! To download your trial of Diffblue Cover Developer Edition, please click here. Full information on all our options is also available here.

How do I automatically maintain all of these tests?

Use Diffblue Cover on any CI platform to automatically update your unit tests and catch regressions for every commit - watch this video to learn more.


  • CLI: Cover is now installable on Windows via a GUI or unattended installer. [Ref: TG-16791]

  • CLI: Cover now provides a --keep-partial-tests option which delivers incomplete tests in situations where Cover was not able to produce a full test. See the (CLI User Manual)[/knowledge-base/cli/] for more details. [Ref: TG-17109]

  • Cover now provides improved guidance if R026 (Failed to create Spring context) is encountered whilst writing tests. [Ref: TG-17038]

  • Cover now provides improved guidance if R013 (No inputs found that don't throw a trivial exception) is encountered whilst writing tests. [Ref: TG-17037]

  • IntelliJ Plugin: Cover now provides a 'Write Skeleton Tests' button. See the Skeleton Tests Documentation for more details. [Ref: TG-16581]

Resolved Issues

  • Resolved an issue which, for projects configured with license-maven-plugin (and spotless-maven-plugin), caused Cover to report E084 (JaCoCo command failed). [Ref: TG-16970]

  • Resolved an issue which caused Cover to incorrectly include a Diffblue Cover was unable to write a Spring test comment when a Spring test had been written. [Ref: TG-16958]

Known Issues

  • CLI: The command dcover clean --failing does not work on Gradle projects. This command is now deprecated and dcover validate should be used instead. [Ref: TG-11707]

  • IntelliJ Plugin: If all partial tests are disabled via the plugin settings, or 'Write Skeleton Tests' is used, Cover may write @DataJpaTests with missing properties setup. [Ref: TG-17175]

Last updated