Skip to main content
Version: Unreleased

Profiles

Model local, CI, smoke, and full profiles with Maven or Gradle build profiles, JVM system properties, multiple resource sets, or Paramixel tag selectors.

Local run​

mvn test -Dparamixel.parallelism=2 -Dparamixel.listener.exclude=quiet

CI run​

mvn test \
-Dparamixel.parallelism=8 \
-Dparamixel.failFast=true \
-Dparamixel.failureOnSkip=true \
-Dparamixel.report.file=target/paramixel-report.json

Smoke run​

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

Programmatic profile​

import java.util.Map;
import org.paramixel.api.Configuration;
import org.paramixel.api.Runner;

var configuration = Configuration.of(Map.of(
"paramixel.parallelism", "4",
"paramixel.match.tag.regex", "critical"));

var runner = Runner.builder().configuration(configuration).build();