Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Allure CLI

$ allure Community Low Risk
Allure · Code & DevOps · Apache-2.0 · macos / linux / windows

allure 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.

FCRS-1.0 Score
73 /100
Usable w/ Caveats
Medium Confidence
Zero-Friction Install
brew install allure
CLI vs MCP Decision CLI Only

Local build-time report generator processing workspace test artifacts into HTML bundles.

Agent-Readiness Checklist

— JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 16 / 25

allure generate runs non-interactively, but outputs static HTML/JS dashboards rather than JSON stdout, and allure serve/open block indefinitely.

  • No --json stdout summary mode; designed for human HTML viewing
  • allure serve spawns a foreground HTTP server and opens a browser
Trust & Safety 20 / 25

Local file processing only with no auth or network mutations; --clean wipes the target output directory before regeneration.

  • --clean overwrites output directory contents
Setup & Portability 11 / 15

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
Utility & Efficiency 12 / 15

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
Maintenance & Lineage 7 / 10

Maintained under allure-framework/allure2 with Apache-2.0 licensing and wide QA adoption.

  • Established Allure Report project
Docs & Verifiability 7 / 10

Clean official documentation at allurereport.org and standard subcommand --help.

  • Documented CLI flags at allurereport.org

Security, Auth & Guardrails

Auth Modes
No Auth
Credential Storage

No credentials required; reads local test result directories and writes static HTML report bundles.

Side Effects
Read-Only Local Write
Cost & Quotas

Apache-2.0 open-source CLI; free.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# 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

Verify Allure CLI installation and version
allure --version

Checks the installed Allure CLI version and Java runtime availability without mutating files.

Controlled Writes & Previews

Generate a self-contained single-file HTML report
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 --clean builds 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 open hang headless agent sessions.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI