TestKeeper

Build Status

Many a times we do development on top of the code written by someone else. Sometimes such code has tests, sometimes it doesn’t. However it is also a common scenario when tests are written but not maintained.

If you are working on such codebase then please read ahead.

This repository is a simple utility which allows you to achieve the above goal for Java codebase where surefire-reports are already generated. It is built with Maven support.

Run validateTestReports.sh script under scripts folder as below.

validateTestReports.sh <SurefireReportDirectoryPath> <MaxAllowedFailingTests> <MaxAllowedSkippedTests>

Parameter Default Value Mandatory
Path /target/surefire-reports false
MaxAllowedFailingTests 0 false
MaxAllowedSkippedTests 0 false

End goal is to release as a maven plugin.