Skip to main content
Version: 6.1.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.BeforeAllmethodMarks a public static runner-level hook that executes once before discovered test actions.
@Paramixel.AfterAllmethodMarks a public static runner-level hook that executes once after discovered test actions.
@Paramixel.DisabledmethodExcludes a factory or hook from discovery.
@Paramixel.TagmethodRepeatable tag used by selectors and regex filters.
@Paramixel.PriorityclassOrders discovered classes before root action construction.
@Paramixel.IdmethodIdentifies methods for AnnotationResolver.

Use @Paramixel.BeforeAll and @Paramixel.AfterAll for runner-wide lifecycle around all discovered factory actions. Use Scope for setup and teardown that belongs to one test or action tree.

Configuration​

See Configuration API for the complete list of supported configuration keys with defaults and descriptions.

Maven​

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