This Maven plugin allows to execute Pattern Tests and generate an HTML report of the result.
Download it and copy the jar directly into your
MAVEN_HOME/plugins directory. That's all.
First, you should check the Sample application which demonstrates how to use it.
Here are the steps to use it:
src/test-aspect directory and put your own
Pattern Tests here. This is also where you write Aspects that
extends the abstract ones provided by the PatternTesting framework.
Note that you can change this location by creating a
maven.patterntesting.src property in your
project.properties.
maven patterntesting. That will produce a raw
XML file containing the pattern test violations.
maven site to generate the HTML report.
That's all really! Simple, no?