Universal Test Automation Integration
A single CLI-based reporter that works with every popular test framework. Run your tests in Playwright, Cypress, Selenium, Jest, Pytest, TestNG, or any framework that outputs JUnit XML — then upload results to TestKase with one command.
Works With Every Popular Framework
Whether your team uses Java, Python, JavaScript, C#, or Go — our universal CLI imports results from any framework through standard output formats.
From Test Run to Dashboard in 3 Steps
Install the reporter, run your tests, and upload results — all from the command line.
Automation ID Mapping
Regex-based test-to-testcase linking. Map automated test names to TestKase test case IDs using flexible patterns — no code changes needed.
Multiple Format Support
JUnit XML, Playwright JSON, Cypress Mochawesome, TestNG XML, NUnit XML, Cucumber JSON — all parsed and normalized automatically.
Attachment Upload
Screenshots, videos, and test artifacts are auto-uploaded alongside results. Every execution gets full evidence attached.
Dry Run Mode
Preview which tests map to which test cases before sending anything. Catch mapping mismatches early and fix them before reporting.
Auto-Create Test Cases
Optionally create missing test cases in TestKase when automated tests don't have a match. Keep your test library in sync effortlessly.
Build Awareness
Tag every result with a CI build number using --build-id. Track which build produced which results across cycles and runs.
Up and Running in Minutes
4 Steps to Your First Report
From zero to automated test reporting in under 5 minutes. No plugins, no marketplace installs — just a CLI command.
Generate a Personal Access Token
Go to your TestKase profile settings and generate a PAT. This token authenticates the CLI with your organization.
Install the Reporter CLI
Run npm install @testkase/reporter in your project, or use npx to run it directly without installing.
Run Your Tests
Execute your test suite as usual. Make sure your framework outputs results in a supported format (JUnit XML, Playwright JSON, etc.).
Report to TestKase
Run npx @testkase/reporter report with your token, project ID, and results file. Results appear in TestKase instantly.
Feature Highlights
Zero Config Required
No YAML config files or complex setup. Everything is passed as CLI flags — token, project, cycle, format, and results file.
Framework Agnostic
Works with any framework that produces standard output formats. Selenium, Playwright, Cypress, Jest, Pytest, TestNG — all supported.
npx Ready
No global install needed. Use npx @testkase/reporter to run the latest version every time, or install it as a dev dependency.
Instant Dashboard Updates
Results appear in your TestKase project immediately. View pass/fail trends, execution history, and coverage — all in real time.
The @testkase/reporter CLI
Parse results from popular test frameworks, map them to test cases via automation IDs, and push execution data to TestKase — in a single command.
@testkase/reporter
v1.0.2 · MIT · by testkaseCLI tool to report automated test results to TestKase — the modern test management platform.
npm install -g @testkase/reporter
npx @testkase/reporter report \ --format junit \ --results-file results.xml
Supported Formats
junitXMLAttachmentsplaywrightJSONAttachmentscypressJSON (Mochawesome)—testngXML—nunitXMLAttachmentscucumberJSONAttachmentsCommands
testkase-reporter reportParse test results and report them to TestKase. Supports JUnit, Playwright, Cypress, TestNG, NUnit, and Cucumber formats.
testkase-reporter create-runCreate a new test cycle in TestKase with a custom title. Useful for tagging builds dynamically.
testkase-reporter list-projectsList all projects accessible with the provided PAT. Useful for verifying credentials and finding project IDs.
Key CLI Flags
--format <type>junit, playwright, cypress, testng, nunit, cucumber--results-file <path>Path to the test results file--token <pat>Personal access token (or $TESTKASE_PAT)--project-id <id>Project ID (e.g. PRJ-1)--cycle-id <id>Test cycle ID (default: TCYCLE-1)--build-id <id>CI build identifier for traceability--dry-runPreview mapping without sending results--automation-id-formatCustom regex to extract IDs from test names--attachments-dir <path>Upload screenshots, videos & artifactsExit Codes
0Success1Test failures2API error3Validation error4Missing IDsStart Testing for Free
Sign up instantly and begin using TestKase with all core features, completely free for up to 3 users.