What's New > Version 2020.10.02

Supporting projects with a JUnit 5.7.x dependency

Release date: Oct 26, 2020

Enhanced functionality by supporting projects which have a JUnit 5.7.x dependency. Other improvements include improved user guidance.


Full Release Notes

Enhancements

  • Cover now supports projects which have JUnit 5.7.x as a dependency. [Ref: TG-12898]

  • CLI: Cover now provides improved guidance if tests could not be created because it was unable to find ‘useful’ inputs to provide to the method under test (logged as R013). [Ref: TG-12859]

  • IntelliJ Plugin: Cover now provides warnings and further guidance, in IntelliJ IDEA’s event log, if dependencies are missing. [Ref: TG-12775]

Resolved Issues

  • CLI: Resolved an issue where Cover’s log file may contain WARN Repeatedly tried scanning <path> and failed. Is the file only partially written? messages. [Ref: TG-12945]

  • Resolved an issue where tests may be created without a new line between the end of a test and the next @Test annotation. [Ref: TG-11393]

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