Skip to main content
Version: 6.0.0 (Unmaintained)

Quick Reference

Minimal factory​

import org.paramixel.api.Paramixel;
import org.paramixel.api.action.Action;
import org.paramixel.api.action.Sequence;
import org.paramixel.api.action.Step;

@Paramixel.Factory
public static Action smoke() {
return Sequence.builder("smoke")
.child(Step.of("step", ctx -> doWork()))
.build();
}

Annotations​

AnnotationTargetPurpose
@Paramixel.FactorymethodMarks a public static factory returning Action, Builder, or null.
@Paramixel.DisabledmethodExcludes a factory from discovery.
@Paramixel.TagmethodRepeatable tag used by selectors and regex filters.
@Paramixel.PriorityclassOrders discovered factory classes before root construction.
@Paramixel.IdmethodIdentifies methods for AnnotationResolver.

Configuration​

KeyDefaultDescription
paramixel.parallelismavailable processorsRunner-wide parallelism. Must be a positive integer.
paramixel.scheduler.queue.capacity1024Maximum scheduler-ready descriptor executions. Must be positive.
paramixel.ansiautoConsole ANSI mode: true, false, or auto.
paramixel.failureOnSkipfalseTreat skipped aggregate results as failing exit codes.
paramixel.failureOnAborttrueTreat aborted aggregate results as failing exit codes.
paramixel.failIfNoTestsfalseFail when classpath discovery finds no factories.
paramixel.report.fileunsetWrite a run report. .json, .xml, .html, .log, and .txt are recognized; unknown extensions use text.
paramixel.match.package.regexunsetJava regex, using find(), matched against package names.
paramixel.match.class.regexunsetJava regex, using find(), matched against fully qualified class names.
paramixel.match.tag.regexunsetJava regex, using find(), matched against each @Paramixel.Tag value.
paramixel.listener.excludeunsetComma-separated listener sections: status.header, status.footer, summary.header, summary.tree, summary.footer, plus shorthands status, quiet, and all.

Maven​

mvn paramixel:test
mvn test -Dparamixel.match.tag.regex=smoke