Allure Report from pytest or JUnit results: steps, attachments and history
Collect test results in a folder, build a clear report with steps and screenshots, and keep a history so you can see whether tests get better or worse.
L1–L4 are part of the Pro pass
L0 Explain simply
Analogy: a gym wall chart. Each day you drop a slip for the exercises you did. The chart is built from the slips. It can hold a photo of your form, and it can show last week's slips beside today's.
Tom builds an Allure report from actual test-run records. A results folder holds data emitted by the framework integration. Steps and attachments add execution context. A history trend compares appropriately identified tests across retained launches.
The gym slips are input records; the wall chart is their presentation. A photo of form is evidence, not proof that every exercise met its rule.
The picture has a limit. A report cannot invent a missing assertion, attachment or previous run. The selected report/adapter version controls collection, generation and history behavior; a smoother chart alone does not prove improved product quality.
(SYNTHETIC / TRAINING ONLY: Daily List and every named person are invented.)
PLAIN WORDS · 2 in this section
- allure
- a test reporting tool
- emitted
- given out or produced
PICTURE IT
The picture is the one the lesson above opens with. The table below shows how each part of it matches the software.
THE REAL JOB Build an interpretable Allure report from actual integration records and the selected history mechanism.
- Slips
- Photos
- Weeks
HOW THE PICTURE MAPS
| In the picture | In the software |
|---|---|
| The daily slips | The results folder |
| The list of exercises | The steps |
| The photos of your form | The attachments |
| The weeks before | The history trend |
WHERE THIS PICTURE STOPS
- Report/adapter versions and generation modes have different collection and history mechanisms.
- Steps, attachments and charts provide evidence/context, not a substitute for the actual business oracle.
HOOK
Slips, chart, photos, weeks.
TELL A FRIEND
Slips, photos and past weeks.
OFTEN MIXED UP WITH Selenium reports: an HTML report and a screenshot when a test fails. That topic covers pytest-html reports and failure screenshots. This one adds Allure integration records, steps, attachments and version-specific history.
Sources & standards — 11 sources
- Implementation-specific
Allure Report 2 Node installation ↗ — Allure project (Qameta Software) · Versioned CLI package and documented Java prerequisite; separate framework integration (actual selected primary passages read 7 November 2026; Report2/Report3/Java-adapter/Python scopes are distinguished).
Selected actual primary sections and explicitly tagged CLI fields read. Framework execution, adapter records, report generation and retained history have different roles. Synthetic paths/title data and conditional workflow examples are not an observed Allure integration run.
- Implementation-specific
Allure Report 3 installation ↗ — Allure project (Qameta Software) · Node CLI package and separate framework integration (actual selected primary passages read 7 November 2026; Report2/Report3/Java-adapter/Python scopes are distinguished).
Selected actual primary sections and explicitly tagged CLI fields read. Framework execution, adapter records, report generation and retained history have different roles. Synthetic paths/title data and conditional workflow examples are not an observed Allure integration run.
- Implementation-specific
Allure Pytest integration ↗ — Allure project (Qameta Software) · Adapter installation, alluredir output and existing-directory accumulation; framework/report distinction (actual selected primary passages read 7 November 2026; Report2/Report3/Java-adapter/Python scopes are distinguished).
Selected actual primary sections and explicitly tagged CLI fields read. Framework execution, adapter records, report generation and retained history have different roles. Synthetic paths/title data and conditional workflow examples are not an observed Allure integration run.
- Implementation-specific
Allure Pytest reference ↗ — Allure project (Qameta Software) · Selected steps and actual bytes/string attachment content versus existing-file API and media types (actual selected primary passages read 7 November 2026; Report2/Report3/Java-adapter/Python scopes are distinguished).
Selected actual primary sections and explicitly tagged CLI fields read. Framework execution, adapter records, report generation and retained history have different roles. Synthetic paths/title data and conditional workflow examples are not an observed Allure integration run.
- Implementation-specific
Allure JUnit Jupiter integration ↗ — Allure project (Qameta Software) · Jupiter5/6 integration, renamed artifact, Java-adapter3 requirements and annotation setup (actual selected primary passages read 7 November 2026; Report2/Report3/Java-adapter/Python scopes are distinguished).
Selected actual primary sections and explicitly tagged CLI fields read. Framework execution, adapter records, report generation and retained history have different roles. Synthetic paths/title data and conditional workflow examples are not an observed Allure integration run.
- Implementation-specific
Allure Java 3 migration ↗ — Allure project (Qameta Software) · Adapter/runtime requirements, removed coordinates/APIs and report-major independence (actual selected primary passages read 7 November 2026; Report2/Report3/Java-adapter/Python scopes are distinguished).
Selected actual primary sections and explicitly tagged CLI fields read. Framework execution, adapter records, report generation and retained history have different roles. Synthetic paths/title data and conditional workflow examples are not an observed Allure integration run.
- Implementation-specific
Allure history and retries ↗ — Allure project (Qameta Software) · Version-specific directory versus JSONL history, launch/retry identity and grouping/migration caveats (actual selected primary passages read 7 November 2026; Report2/Report3/Java-adapter/Python scopes are distinguished).
Selected actual primary sections and explicitly tagged CLI fields read. Framework execution, adapter records, report generation and retained history have different roles. Synthetic paths/title data and conditional workflow examples are not an observed Allure integration run.
- Implementation-specific
Allure Report 2 generation ↗ — Allure project (Qameta Software) · Adapter results, launch data, retained generate/open versus temporary serve (actual selected primary passages read 7 November 2026; Report2/Report3/Java-adapter/Python scopes are distinguished).
Selected actual primary sections and explicitly tagged CLI fields read. Framework execution, adapter records, report generation and retained history have different roles. Synthetic paths/title data and conditional workflow examples are not an observed Allure integration run.
- Implementation-specific
Allure Report 3 generation ↗ — Allure project (Qameta Software) · Run wrapper new-result handling versus manual generate from existing results (actual selected primary passages read 7 November 2026; Report2/Report3/Java-adapter/Python scopes are distinguished).
Selected actual primary sections and explicitly tagged CLI fields read. Framework execution, adapter records, report generation and retained history have different roles. Synthetic paths/title data and conditional workflow examples are not an observed Allure integration run.
- Implementation-specific
Allure Report 2.46.1 GenerateCommand source ↗ — Allure project (Qameta Software) · Tagged CLI --clean output-report-directory scope and output options, separate from raw results (actual selected primary passages read 7 November 2026; Report2/Report3/Java-adapter/Python scopes are distinguished).
Selected actual primary sections and explicitly tagged CLI fields read. Framework execution, adapter records, report generation and retained history have different roles. Synthetic paths/title data and conditional workflow examples are not an observed Allure integration run.
- Implementation-specific
Allure Report 2.46.1 ResultsOptions source ↗ — Allure project (Qameta Software) · Tagged positional result-directory inputs and default allure-results (actual selected primary passages read 7 November 2026; Report2/Report3/Java-adapter/Python scopes are distinguished).
Selected actual primary sections and explicitly tagged CLI fields read. Framework execution, adapter records, report generation and retained history have different roles. Synthetic paths/title data and conditional workflow examples are not an observed Allure integration run.
PRACTISE AND KEEP
Sources for this topic — 11 sources
- Implementation-specific
Allure Report 2 Node installation ↗ — Allure project (Qameta Software) · Versioned CLI package and documented Java prerequisite; separate framework integration (actual selected primary passages read 7 November 2026; Report2/Report3/Java-adapter/Python scopes are distinguished).
Selected actual primary sections and explicitly tagged CLI fields read. Framework execution, adapter records, report generation and retained history have different roles. Synthetic paths/title data and conditional workflow examples are not an observed Allure integration run.
- Implementation-specific
Allure Report 3 installation ↗ — Allure project (Qameta Software) · Node CLI package and separate framework integration (actual selected primary passages read 7 November 2026; Report2/Report3/Java-adapter/Python scopes are distinguished).
Selected actual primary sections and explicitly tagged CLI fields read. Framework execution, adapter records, report generation and retained history have different roles. Synthetic paths/title data and conditional workflow examples are not an observed Allure integration run.
- Implementation-specific
Allure Pytest integration ↗ — Allure project (Qameta Software) · Adapter installation, alluredir output and existing-directory accumulation; framework/report distinction (actual selected primary passages read 7 November 2026; Report2/Report3/Java-adapter/Python scopes are distinguished).
Selected actual primary sections and explicitly tagged CLI fields read. Framework execution, adapter records, report generation and retained history have different roles. Synthetic paths/title data and conditional workflow examples are not an observed Allure integration run.
- Implementation-specific
Allure Pytest reference ↗ — Allure project (Qameta Software) · Selected steps and actual bytes/string attachment content versus existing-file API and media types (actual selected primary passages read 7 November 2026; Report2/Report3/Java-adapter/Python scopes are distinguished).
Selected actual primary sections and explicitly tagged CLI fields read. Framework execution, adapter records, report generation and retained history have different roles. Synthetic paths/title data and conditional workflow examples are not an observed Allure integration run.
- Implementation-specific
Allure JUnit Jupiter integration ↗ — Allure project (Qameta Software) · Jupiter5/6 integration, renamed artifact, Java-adapter3 requirements and annotation setup (actual selected primary passages read 7 November 2026; Report2/Report3/Java-adapter/Python scopes are distinguished).
Selected actual primary sections and explicitly tagged CLI fields read. Framework execution, adapter records, report generation and retained history have different roles. Synthetic paths/title data and conditional workflow examples are not an observed Allure integration run.
- Implementation-specific
Allure Java 3 migration ↗ — Allure project (Qameta Software) · Adapter/runtime requirements, removed coordinates/APIs and report-major independence (actual selected primary passages read 7 November 2026; Report2/Report3/Java-adapter/Python scopes are distinguished).
Selected actual primary sections and explicitly tagged CLI fields read. Framework execution, adapter records, report generation and retained history have different roles. Synthetic paths/title data and conditional workflow examples are not an observed Allure integration run.
- Implementation-specific
Allure history and retries ↗ — Allure project (Qameta Software) · Version-specific directory versus JSONL history, launch/retry identity and grouping/migration caveats (actual selected primary passages read 7 November 2026; Report2/Report3/Java-adapter/Python scopes are distinguished).
Selected actual primary sections and explicitly tagged CLI fields read. Framework execution, adapter records, report generation and retained history have different roles. Synthetic paths/title data and conditional workflow examples are not an observed Allure integration run.
- Implementation-specific
Allure Report 2 generation ↗ — Allure project (Qameta Software) · Adapter results, launch data, retained generate/open versus temporary serve (actual selected primary passages read 7 November 2026; Report2/Report3/Java-adapter/Python scopes are distinguished).
Selected actual primary sections and explicitly tagged CLI fields read. Framework execution, adapter records, report generation and retained history have different roles. Synthetic paths/title data and conditional workflow examples are not an observed Allure integration run.
- Implementation-specific
Allure Report 3 generation ↗ — Allure project (Qameta Software) · Run wrapper new-result handling versus manual generate from existing results (actual selected primary passages read 7 November 2026; Report2/Report3/Java-adapter/Python scopes are distinguished).
Selected actual primary sections and explicitly tagged CLI fields read. Framework execution, adapter records, report generation and retained history have different roles. Synthetic paths/title data and conditional workflow examples are not an observed Allure integration run.
- Implementation-specific
Allure Report 2.46.1 GenerateCommand source ↗ — Allure project (Qameta Software) · Tagged CLI --clean output-report-directory scope and output options, separate from raw results (actual selected primary passages read 7 November 2026; Report2/Report3/Java-adapter/Python scopes are distinguished).
Selected actual primary sections and explicitly tagged CLI fields read. Framework execution, adapter records, report generation and retained history have different roles. Synthetic paths/title data and conditional workflow examples are not an observed Allure integration run.
- Implementation-specific
Allure Report 2.46.1 ResultsOptions source ↗ — Allure project (Qameta Software) · Tagged positional result-directory inputs and default allure-results (actual selected primary passages read 7 November 2026; Report2/Report3/Java-adapter/Python scopes are distinguished).
Selected actual primary sections and explicitly tagged CLI fields read. Framework execution, adapter records, report generation and retained history have different roles. Synthetic paths/title data and conditional workflow examples are not an observed Allure integration run.
Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.