Release notes for release 2020.10.01

Release date: October 12, 2020

This release contains an enhancement to test creation service logging, and additional tests for Spring Controllers (see below for details).

Enhancements

  • IntelliJ Plugin: Improved Cover test creation service logging. Failures to start the test creation service will now be logged to IntelliJ IDEA's event log. [Ref: TG-12863]

  • Cover is now able to create more tests with @MockBean fields which have generic type parameters. [Ref: TG-12202]

  • Cover is now able to create more tests for Spring Controllers accepting Enum, Map or Regexp path variables, or using nested @RequestMapping declarations. [Ref: TG-12146]

Resolved Issues

  • Resolved an issue where constructors containing @Autowired fields would always cause a constructor to be considered non-trivial. [Ref: TG-12826]

  • IntelliJ Plugin: Resolved an issue where Gradle projects may be indexed multiple times, provoking Low Memory warnings in IntelliJ IDEA's event log. [Ref: TG-12792]

  • IntelliJ Plugin: Resolved an issue where attempting to uninstall, or disable, the plugin during an indexing operation may result in Unable to instantiate a Diffblue cover index being logged to IntelliJ IDEA's event log. [Ref: TG-12766]

  • CLI: Minor text fixes to Cover's help output. [Ref: TG-12764]

  • IntelliJ Plugin: Resolved an issue where hyperlinks in the plugin may resolve to an invalid location. [Ref: TG-12699]

Known Issues

  • Wrong reason for not creating essential tests for methods in classes without accessible constructors. [Ref: TG-10794]

  • CLI: Windows: creating config.json by outputting --example-config as file causes exceptions. [Ref: TG-11198]

  • CLI: All tests may be discarded in test verification when using --config. [Ref: TG-11475]

  • CLI: dcover clean --working-directory throws an error if --test-output-dir is not provided. [Ref: TG-11665]

  • CLI: dcover fails to generate tests, reporting java.lang.OutOfMemoryError, when analysing projects which spawn a quantity of threads in excess of the operating system's process thread limit. [Ref: TG-11680]

  • CLI: dcover clean --failing fails when used with a Gradle project. [Ref: TG-11707]

  • Tests are not generated for methods of Spring controllers that contain an autowired field. [Ref: TG-11835]

  • CLI: Test verification may fail on a Gradle project due to an incompatibility between Gradle and Cover. If you encounter this issue, run with --skip-test-verification. [Ref: TG-12045]

  • IntelliJ Plugin: Large multi-module Gradle projects may take a long time to index. [Ref: TG-12923]

Dependencies for written tests

  • JUnit: 4.7-5.6

results matching ""

    No results matching ""