Static mocking for methods which create temporary files
Release date: Nov 08, 2022
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.
Full Release Notes
- Cover now uses static mocking when the method under test creates temporary files without deleting them. [Ref: TG-17368]
Resolved an issue which caused Cover to produce spurious warnings about inconsistent JDK 8 and Spring Core/Spring Boot versions. [Ref: TG-18055]
Resolved an issue which caused Cover to report
Error: unknown, rather than citing the cause of the problem, while writing tests. [Ref: TG-17692]