Every test failure. Every retry.All the evidence in one HTML report.
Automatically capture API requests and responses, screenshots, logs, retries and flaky-test history, with minimal setup and no manual reporting calls. For .NET, Java, Python and TypeScript.
dotnet add package AceReports.Xunit
A real report from a Reqnroll run, not a screenshot. Open a scenario to see its steps, logs, API calls and attempts.
Everything you need to debug a failure, already captured.
You don't add logging code to get a useful report. Ace Reports records what happened while each test ran, and keeps every retry separate.
-
Install and run
The package hooks itself into your test framework. Run
dotnet test,mvn test,pytestornpx playwright testas usual and the report appears in aTestResultsfolder. -
Every API call, automatically
No code needed: every request made with
HttpClientin .NET, REST Assured orHttpClientin Java,requestsandhttpxin Python, or axios,fetchand Playwright'srequestin TypeScript, is captured with method, URL, bodies, status and duration.Authorizationand cookie headers are redacted. -
Screenshots when a test fails
Taken automatically from Playwright, Selenium or Puppeteer. Add your own named screenshots at any step with
Ace.TakeScreenshot("After login"),ace.take_screenshot("After login")orace.takeScreenshot('After login'). -
Retries and flaky tests
Each attempt keeps its own logs, API calls, error and screenshots. A test that passes after an earlier attempt failed is marked flaky, so it doesn't hide.
-
Step-by-step logs
Write
Ace.Info(...)in C#,Ace.info(...)in Java orace.info(...)in Python and TypeScript from anywhere in a test, and each line lands on the test that's running. Gherkin steps from Reqnroll, Cucumber, pytest-bdd and Cucumber.js are logged for you. -
Search, filter and categories
Filter by status or category, search by test name or argument, and click a bar in the category chart to narrow the table.
-
One file, no server
Styles, data and screenshots are inside a single HTML file. Email it, attach it to a ticket, or publish it as a CI artifact. It opens in any browser.
-
Same report, every language
.NET, Java, Python and TypeScript teams get the identical report, so mixed stacks read results one way. Light, dark or system theme, and anyone reading it can switch.
Your first report in three steps
Ace Reports needs .NET 10. These steps use xUnit; swap the package name for your framework.
Ace Reports needs Java 11+. These steps use JUnit 5; use acereports-testng or acereports-cucumber for those frameworks.
Ace Reports needs Python 3.9+ and pytest 7+. pytest-bdd scenarios are covered by the same package.
Ace Reports needs Node.js 18+. These steps use Playwright Test; Jest, Vitest and Cucumber.js are shown below.
-
Add the package
In your test project:
A test dependency in
pom.xml(snippet below) orbuild.gradle:dotnet add package AceReports.Xunitio.github.acereports:acereports-junit5:1.1.0pip install pytest-acereportsnpm install --save-dev @acereports/playwright -
Run your tests
From Visual Studio, Rider, or the command line:
From IntelliJ IDEA, Eclipse, VS Code, or the command line:
From PyCharm, VS Code, or the command line:
After adding the reporter (below), from VS Code or the command line:
dotnet testmvn testpytestnpx playwright test -
Open the report
The path is printed at the end of the run:
TestResults/AceReport_<timestamp>.html
using AceReports; using AceReports.Configuration; internal sealed class AceReportsStartup : IAceReportsStartup { public void Configure(AceReportsConfiguration options) { Ace.SuiteName("Checkout Regression"); Ace.EnvironmentName("UAT"); Ace.DarkTheme(); } }
Ace.Info("Submitting payment"); Ace.Pass("Payment authorized"); Ace.Fail("Refund should have been rejected"); // Screenshots: automatic on failure, or whenever you like Ace.TakeScreenshot("After login"); // Page created inside the test? Hand it over once. Ace.UseScreenshotSource(page); // Turn reporting off for a project (.csproj): // <EnableAceReports>false</EnableAceReports>
acereports-testng. Cucumber, with the JUnit 5 or TestNG runner: acereports-cucumber.<!-- pom.xml --> <dependency> <groupId>io.github.acereports</groupId> <artifactId>acereports-junit5</artifactId> <version>1.1.0</version> <scope>test</scope> </dependency> # Configure it, if you want to: # src/test/resources/acereports.properties acereports.suite.name=Checkout Regression acereports.environment=UAT acereports.theme=dark
import io.github.acereports.Ace; Ace.info("Submitting payment"); Ace.pass("Payment authorized"); // Screenshots: automatic on failure (a Playwright page or // Selenium driver in a field is found by itself) Ace.takeScreenshot("After login"); // Retries: @RetryingTest (JUnit), IRetryAnalyzer (TestNG) // Turn reporting off for one run: // mvn test -Dacereports.enabled=false
# conftest.py from acereports import ace def pytest_acereports_configure(options): ace.suite_name("Checkout Regression") ace.environment_name("UAT") ace.dark_theme() # Or in pytest.ini: # acereports_suite_name = Checkout Regression
from acereports import ace ace.info("Submitting payment") ace.pass_("Payment authorized") # Screenshots: automatic on failure (pytest-playwright's page # is found by itself), or whenever you like ace.take_screenshot("After login") # Retries (pytest-rerunfailures): # @pytest.mark.flaky(reruns=3) # Turn reporting off for one run: pytest --no-acereports
// playwright.config.ts export default defineConfig({ reporter: [['list'], ['@acereports/playwright', { suiteName: 'Checkout Regression', environment: 'UAT', theme: 'dark', }]], }); // Jest: reporters: ['default', '@acereports/jest'], // setupFilesAfterEnv: ['@acereports/jest/setup'] // Vitest: reporters: ['default', '@acereports/vitest'], // setupFiles: ['@acereports/vitest/setup'] // Cucumber: plugin: ['@acereports/cucumber'], // requireModule: ['@acereports/cucumber/support']
import { ace } from '@acereports/playwright'; ace.info('Submitting payment'); ace.pass('Payment authorized'); // Screenshots: automatic on failure (the page fixture // is found by itself), or whenever you like await ace.takeScreenshot('After login'); // Retries: retries in the config, jest.retryTimes(n), // Vitest retry, cucumber-js --retry // Turn reporting off for one run: ACEREPORTS_ENABLED=false
Pick the package for your framework
Every package produces the same report. Each one hooks into its framework in the way that framework expects, so your existing tests don't change.
| Framework | Package | What gets recorded |
|---|---|---|
| xUnit v3 | AceReports.Xunit | Facts and theories with their arguments, [Trait("Category", …)] tags, and retries through xRetry. |
| NUnit 3.14+ and 4 | AceReports.NUnit | [Test] and [TestCase] values, [Category] tags, and every [Retry] attempt. |
| MSTest 3.10+ and 4 | AceReports.MSTest | [TestMethod] and [DataRow] values, [TestCategory] tags, and every [Retry] attempt. |
| Reqnroll 3 | AceReports.Reqnroll | Scenarios, features, tags and example rows, with each Given/When/Then step as a log line. Runs on any Reqnroll runner. |
| JUnit 5 | acereports-junit5 | Tests, @ParameterizedTest values, @Tag categories, @Nested classes, and every JUnit Pioneer @RetryingTest or Surefire rerun attempt. |
| TestNG 7.5+ | acereports-testng | Tests, @DataProvider rows, groups as category tags, and every IRetryAnalyzer retry. Works with parallel runs. |
| Cucumber 7 | acereports-cucumber | Scenarios, features, tags and example rows, with each Given/When/Then step as a log line. Works with the JUnit 5 and the TestNG runner. |
| pytest 7+ | pytest-acereports | Test functions and classes, @pytest.mark.parametrize values, markers as category tags, and every pytest-rerunfailures retry. Works with pytest-xdist. |
| pytest-bdd | pytest-acereports | Scenarios, features, tags and example rows, with each Given/When/Then step as a log line. The same package as pytest; nothing extra to install. |
| Playwright Test 1.40+ | @acereports/playwright | Tests, describe blocks, tags as categories, projects, test.step and actions as log lines, the request fixture's calls, and every retry. |
| Jest 29+ | @acereports/jest | Tests and test.each rows, describe blocks, @tags in names as categories, and every jest.retryTimes attempt. |
| Vitest 3+ | @acereports/vitest | Tests and test.each / test.for rows, describe blocks, tags as categories, and every retry attempt. Works with threads and forks. |
| Cucumber.js 10+ | @acereports/cucumber | Scenarios, features, tags and example rows, with each Given/When/Then step as a log line. Works with --parallel and --retry. |
Requirements: .NET 10 for the NuGet packages; Java 11+ for the Maven Central packages; Python 3.9+ and pytest 7+ for pytest-acereports; Node.js 18+ for the npm packages.
Using Reqnroll alongside plain tests? Install AceReports.Reqnroll together with your runner's package. Scenarios get their steps and tags, and nothing is reported twice.
Cucumber next to plain JUnit 5 or TestNG tests? Add acereports-cucumber together with acereports-junit5 or acereports-testng. The same goes: steps and tags for the scenarios, nothing twice.
Ace Reports Pro
Pro features are in the works. They'll ship as separate add-on packages, and the free packages you already use stay free under the same license.
Work in progressQuestions
Is Ace Reports free?
Yes, for any use, including commercial use inside your company. It's free to use under the PolyForm Perimeter License 1.0.1. The one thing it doesn't allow is building a product that competes with Ace Reports.
Do I need a server or a separate tool to view the report?
No. The report is one self-contained HTML file. Open it in any browser, send it to a teammate, or keep it as a build artifact.
Does it work in CI pipelines?
Yes. The report is written to TestResults like any other test output, so you can publish it as an artifact in GitHub Actions, Azure DevOps, GitLab or Jenkins. Set the environment name with the ACEREPORTS_ENVIRONMENT variable in any language, with dotnet test -p:AceReportsEnvironment=QA in .NET, with mvn test -Dacereports.environment=QA in Java, or with the reporter's environment option in TypeScript.
Will my passwords or tokens end up in the report?
Authorization, Cookie and Set-Cookie headers are always redacted. Request and response bodies are recorded as sent, so treat the report like a log file. You can turn API capture off with Ace.CaptureHttpTraffic(false) in .NET, Ace.captureHttpTraffic(false) in Java, ace.capture_http_traffic(False) in Python or captureHttp: false in TypeScript.
Can I turn it off for one project?
In .NET, add <EnableAceReports>false</EnableAceReports> to that project's .csproj. In Java, set acereports.enabled=false in acereports.properties, or run mvn test -Dacereports.enabled=false. In Python, set acereports = false in pytest.ini, or run pytest --no-acereports for a single run. In TypeScript, pass enabled: false to the reporter, or set ACEREPORTS_ENABLED=false for a single run. The package stays installed and your tests run as normal.
How do I capture API requests and responses in my test report automatically?
Install the Ace Reports package for your test framework. Every HTTP call your tests make is recorded with its method, URL, headers, request body, response body, status code and duration, and shown on the test that made it. That includes calls made through your own API client or wrapper: HttpClient in .NET, REST Assured in Java, requests and httpx in Python, and axios, fetch, supertest and Playwright's request in TypeScript. No logging code is needed.
How does it find flaky tests?
When a failed test is retried (for example Playwright retries, jest.retryTimes or Vitest retry), every attempt is kept with its own error, logs, API calls and screenshots. A test that fails and then passes on a retry is marked flaky in the report and can be filtered, so intermittent failures don't hide behind a green build.
Does it take a screenshot when a test fails?
Yes. With Playwright, Selenium or Puppeteer, a screenshot is taken automatically the moment a test fails, before the browser closes, and embedded in the HTML report next to the error and logs.
How is it different from Allure or ExtentReports?
Ace Reports needs no report server, command-line tool or reporting code in your tests. Install one package, run your tests as usual, and you get one self-contained HTML file with API requests and responses, failure screenshots, retries and flaky tests already captured.
Which languages and test frameworks are supported?
.NET: xUnit v3, NUnit, MSTest and Reqnroll, from NuGet. Java: JUnit 5, TestNG and Cucumber, from Maven Central. Python: pytest and pytest-bdd, from PyPI. TypeScript and JavaScript: Playwright Test, Jest, Vitest and Cucumber.js, from npm. Every one produces the same report. More languages are being considered; tell us which one you need by opening an issue.
Can I use it in a product I sell, or under my own brand?
That needs a commercial license: OEM, white-label and redistribution terms are available. Email lambate02@gmail.com with your company name and how you plan to use it.
Found Ace Reports useful?
Support its continued development. Every coffee goes into new framework support, fixes and features, and helps keep the core packages free.