What's New > Version 2020.03.a

Extended Spring support and CI integration optimization

Release date: Mar 02, 2020

Extended support for Spring Boot and Spring MVC classes with `@Controller` and `@Service` annotations. It is now possible to exclude problematic packages/classes/methods from the CLI analysis.

Full Release Notes


Cover CLI output has been improved. You’ll get a summary of tests created per method and the CLI -test-verification print output has been changed slightly for clarity. [Ref: TG-11256]

Additional work has been done to improve Cover tests. We consider more Enum values, we’ve improved our Spring input generation, and we are now generating BigDecimal and BigInteger as inputs to our tests. [Ref: TG-11210, TG-11212, TG-11213]

In cases where several simple tests (such as a single assertion) are generated for a single method, Cover attempts to merge these into a single unit-test. [Ref: TG-10903]

Known issues

  • Logback warnings may appear in the output when the user code contains a logback configuration [Ref: TG-10793]

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

  • IntelliJ: ‘Suggest assertions’ sometimes errors with AssertionSuggestionException: Runner timeout causing the feature to become unavailable. Restarting IntelliJ usually makes it available again. [Ref: TG-10798]

  • IntelliJ Plugin: cancelling the indexing job causes exception [Ref: TG-11074]

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

  • Using --advanced may still create redundant tests. [Ref: TG-11206]

  • Plugin: Test generation with JUnit 5 is currently not supported in the IntelliJ plugin [Ref: TG-11281]

  • 2020.03.a Reg: using jacoco existing coverage throw Unhandled exceptions - NoClassDefFoundError: org/objectweb/asm/commons/JSRInlinerAdapter [Ref: TG-11382]

  • advanced option crashes on Windows [Ref: TG-11428]

Dependencies for written tests

  • JUnit: 4.7-5.5