Project Setup
A typical Maven project keeps factory classes on the test classpath and runs them during the test phase with the Paramixel Maven plugin.
src/
test/
java/
com/example/LoginSmokeTest.java
resources/
paramixel.properties
Factory conventions
- Factories are public static methods annotated with
@Paramixel.Factory. - Factories return
Action,Builder, ornull. - Use
@Paramixel.Tagfor selection. - Use
@Paramixel.Disabledto exclude a factory from discovery. - Use
@Paramixel.Priorityon classes when discovery admission order matters.
Example properties
paramixel.parallelism=4
paramixel.match.tag.regex=smoke|critical
paramixel.report.file=target/paramixel-report.json
System properties override classpath properties:
mvn test -Dparamixel.match.class.regex=Login -Dparamixel.report.file=target/login.json