Oliver Wehrens
Seasoned Technology Leader. Mentor. Dad.
Oliver Wehrens

Update on Quant TestTester

- 1 min

Here is a small update on my little fun project.

I released version 0.2 of quant. Now it will recognize all TestNG annotations which do not have a TestNG group (like @BeforeMethod, @BeforeClass etc.). The method ‘reportViolation’ on ClassTester will now report whats wrong with the examined class.

 assertFalse(classTester.isInvalidTestClass(),
    classTester.reportViolation());

Above code will now report:

In this way you know what went wrong and where to look for it. Quant is now also available in my repository. To include it add the following code to your pom.xml. [xml] com.maxheapsize quant 0.2 [/xml]

For now you need to add my mvn repository to your pom. I’m about to have it mirrored to the official servers.

Have fun.