Report files
11 formats, detected for you
Upload reports from JUnit, TestNG, Allure, Playwright, pytest, Robot Framework, Cucumber, NUnit, TRX, xUnit.net or Cypress through Mochawesome, or a ZIP file of several. TestLookup reads what's inside the file, not its name, to tell the format. If it picks the wrong one, send the file again and name the format.
- Works with the standard reports from pytest, .NET's dotnet test and Robot Framework
- Cucumber JSON reports from cucumber-jvm, cucumber-js, behave or SpecFlow
- A test that stopped with an error (broken) stays separate from one that failed a check (failed)
pytest --junitxml=results.xml || true
testlookup upload file results.xml --project "$PROJECT_ID" --build "$BUILD_ID" \
--branch "$BRANCH" --commit "$COMMIT_SHA" --waitDetails: install the command-line tool from the cli folder of a copy of the TestLookup code, with python -m pip install -e ./cli. It reads your server address and key from TESTLOOKUP_URL and TESTLOOKUP_API_KEY. Give the project's ID with --project. The tool doesn't read the branch or commit from CI, so pass them as shown. With --wait, the step fails if TestLookup refuses the report. To send a whole folder, use testlookup upload dir. To name the format, add --format, or use the format field when you upload through the API. Common report options: pytest --junitxml, dotnet test --logger trx, and Robot Framework's output.xml.

