Allure CLI
$ allure Community Low Riskallure aggregates raw test result files from frameworks like pytest, JUnit, Playwright, and Jest into interactive HTML dashboards via allure generate. While allure serve starts a blocking local web server, allure generate --clean --single-file runs headlessly for CI artifacts.
brew install allure Local build-time report generator processing workspace test artifacts into HTML bundles.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
allure generate runs non-interactively, but outputs static HTML/JS dashboards rather than JSON stdout, and allure serve/open block indefinitely.
- No
--jsonstdout summary mode; designed for human HTML viewing allure servespawns a foreground HTTP server and opens a browser
Local file processing only with no auth or network mutations; --clean wipes the target output directory before regeneration.
--cleanoverwrites output directory contents
Available via Homebrew and GitHub archives across macOS, Linux, and Windows, but requires a Java JRE installed on the host.
- JVM-based CLI requiring Java runtime
Unifies reporting across 20+ test frameworks with --single-file bundling, though agents gain more from inspecting allure-results/ JSON directly.
- Aggregates pytest, JUnit, Playwright, and TestNG outputs
Maintained under allure-framework/allure2 with Apache-2.0 licensing and wide QA adoption.
- Established Allure Report project
Clean official documentation at allurereport.org and standard subcommand --help.
- Documented CLI flags at allurereport.org
Security, Auth & Guardrails
No credentials required; reads local test result directories and writes static HTML report bundles.
Apache-2.0 open-source CLI; free.
# Allure CLI Agent Rules - Use `allure generate <results-dir> --clean -o <out-dir>`; never run `allure serve` or `allure open` in headless agents because they block. - Ensure Java (JRE 8+) is available before invoking `allure`. - Read underlying JSON/XML files in `allure-results/` directly when an agent needs test pass/fail counts.
Agent-Ready Command Recipes
Safe Read-Only Queries
allure --version
Checks the installed Allure CLI version and Java runtime availability without mutating files.
Controlled Writes & Previews
allure generate allure-results --single-file --clean -o allure-report
Compiles allure-results into a portable allure-report/index.html without starting a blocking server.
Strengths for Agents
- +
allure generate --single-file --cleanbuilds portable static HTML artifacts cleanly in CI. - + Supports raw test outputs from dozens of ecosystems (pytest, JUnit, Playwright, Jest).
Caveats & Pitfalls
- ! Outputs HTML dashboards for humans rather than machine-readable JSON summaries on stdout.
- ! Requires a Java runtime, and
allure serve/allure openhang headless agent sessions.