JCover frameworks and assertions

JCover can create unit tests for the JUnit and TestNG Java testing frameworks:

To set the JUnit version:

--junit version


To use TestNG:

--testng


Additionally, JCover can create unit tests with the following types of assertions/matchers:


To use Hamcrest matchers:

--hamcrest


To use AssertJ assertions:

--assertj


To use Google Truth assertions:

--truth


To use the assertions of the testing framework:

--junit-assertions

results matching ""

    No results matching ""