Skip to main content

CTRFUnified JSON Test Report With Seamless Developer Tool Integration

What is CTRF?SchemaFollowStarDiscuss
💚

CTRF tooling is free and open source

You can support the project by following us on GitHub

Consistency

The same JSON structure no matter the test framework.

Developer Tooling

A wide variety of plugins for integration with developer tools.

Open Source

Created by the community, open-source, licensed under MIT, with millions of user downloads

Supporting your favorite test frameworks and developer tools

Playwright
Playwright
Jest
Jest
CypressCypress
Cypress
WebdriverIO
WebdriverIO
Go
Go
Postman
Postman
Mocha
Mocha
.NET
.NET
xUnit
xUnit
Nightwatch
Nightwatch
JUnit
JUnit
Selenium
Selenium
Vitest
Vitest
Jasmine
Jasmine
Pytest
Pytest
RSpec
RSpec
GitHubGitHub
GitHub
Slack
Slack
Microsoft Teams
Microsoft Teams
Jenkins
Jenkins
Mattermost
Mattermost
OpenAIOpenAI
OpenAI
AnthropicAnthropic
Anthropic
Jira
Jira

Straightforward JSON Report

ctrf/ctrf-report.json

{
"results": {
"tool": {
"name": "AnyTool"
},
"summary": {
"tests": 1,
"passed": 1,
"failed": 0,
"pending": 0,
"skipped": 0,
"other": 0,
"start": 1706828654274,
"stop": 1706828655782
},
"tests": [
{
"name": "should be able to login",
"status": "passed",
"duration": 801
}
],
"environment": {
"appName": "MyApp",
"buildName": "MyApp",
"buildNumber": "100"
}
}
}

Simple Design

Just three essential properties required for each test - name, duration, and status, simplifying the test report while capturing crucial information.

Comprehensive Data

Beyond the essential properties, the report includes a variety of optional properties, encompassing extensive detail about the tests, tools, environment, and build.

Fully Extendable

The report is designed with extendability at its core, allowing for the addition of extra properties, catering to additional report requirements.