Dynamic Unit Tests Generation with Easy Coverage

Easy Coverage is an open source framework that can dynamically generate Java unit tests to perform basic verifications. Easy Coverage is extensible and highly configurable. It can work as a standalone product or it can be used with JUnit. In his blog post, Romain Delamare explains how to dynamically generate Java unit tests with Easy Coverage.

The post starts by explaining how Easy Coverage works. A particular point is that no additional source code is created, as test cases are generated at runtime and are only stored in memory. Easy Coverage use checkers that perform automatic dynamic verifications on a class or a method. The tool comes with a default set, but you can add your own checkers to extend the testing scope. Then the post provides a step by step procedure on how to configure Easy Coverage with JUnit.