Skip to main content
Version: 6.0.0 (Unmaintained)

Configuration

Configuration provides typed access to string-backed properties.

Factory methods​

  • Configuration.defaultConfiguration() — classpath paramixel.properties, JVM system properties, then defaults.
  • Configuration.classpathConfiguration() — classpath properties only.
  • Configuration.systemConfiguration() — JVM system properties plus defaults.
  • Configuration.of(Map<String, String>) — explicit map.

Typed getters​

getString, getBoolean, getInteger, getLong, getFloat, and getDouble return Optional values. Invalid numeric values throw ConfigurationException.

Keys​

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.