2022-05-01

Enhanced messaging for Diffblue Cover Reports

Diffblue Cover Reports, our tool providing data visualizations, has been updated to tell you when your report upload has been successful, and provide a link directly to that report. This applies to both uploading an existing report, and to creating and then uploading a new report. Please see here for our documentation on using Diffblue Cover Reports.

Following on from our previous update, providing a link to the method under test in the Javadoc of the test methods, we have now improved the Javadoc links for interfaces and combined 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.

Enhancements

  • Cover now includes an improved Javadoc for tests it has written. [Ref: TG-16865]

  • CLI: Cover now provides additional logging when providing custom test inputs via DiffblueRules.yml, including Properties instances. [Ref: TG-16957]

  • CLI: Cover now provides improved messaging whilst uploading test creation reports, via the upload and create options, to Cover Reports. [Ref: TG-16746]

  • IntelliJ Plugin: Cover now creates at least one test for all testable methods. See the Partial Tests documentation for more details. [Ref: TG-16583]

Resolved Issues

  • Resolved an issue which caused non-compiling tests to be written due to mocks using wildcard generics. [Ref: TG-16852]

  • Resolved an issue which, in some circumstances, caused insufficient remediation advice to be available when incomplete tests were written by Cover (due to the failure to create a Spring context). [Ref: TG-16804]

  • CLI: Resolved an issue which prevented absolute paths being handled correctly whilst providing custom test inputs via DiffblueRules.yml. [Ref: TG-16973]

  • IntelliJ Plugin: Resolved an issue which caused a spurious Unsupported Java Language Version warning to be logged whilst using some versions of Java 17. [Ref: TG-16956]

  • IntelliJ Plugin: Resolved an issue which caused 'Registered to' field to show null null <null> on the 'Diffblue Cover License' window whilst using a Community Edition license. [Ref: TG-16953]

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]

Last updated