Walkthrough with sample data
First run walkthrough
Follow a sample test report from upload to a finished run, without uploading anything. The walkthrough shows that TestLookup accepting an upload is a different step from the run being finished.
InstallThe sample data
Example with made-up data. Nothing on this page contacts a server.
The sample has 100 made-up test results: 70 passed, 15 failed, 5 broken and 10 skipped. Its task ID and run ID are fake. It contains no passwords or keys, personal data, production logs or signed download links.
TestLookup’s pass rate counts only the tests that ran. It divides the passed tests by the passed, failed and broken tests together. For this sample, that’s 70 of 90, or 77.8%, and that’s the figure TestLookup would show.
The walkthrough also shows 70.0%, which is 70 out of all 100 with the skipped tests included. That figure is there only for comparison.
The walkthrough follows the steps in the workflow guide on GitHub.
Upload accepted
The walkthrough starts at Accepted, as if you had just uploaded the sample file. It shows an example reply from TestLookup: accepted (HTTP 202), with a task ID and a run ID. Nothing is actually sent.
Accepted means TestLookup has the file. It doesn’t yet mean the file has been read, saved, analyzed or reviewed.
From upload to finished run
Choose Observe parsing, then Observe finalization. The upload task and the run stay separate the whole time.
In TestLookup, the upload task goes through these stages:
- Pending: waiting to start.
- Parsing: reading the file.
- Ingesting: saving the results.
- Succeeded or failed.
The walkthrough shows the task as pending at Accepted. At Parsing, it notes that saving the results comes next. At Saved and finished, it shows that the task succeeded while the run itself is FAILED.
Details: in the API, the task states are pending, parsing, ingesting, succeeded and failed.
A task can fail even after TestLookup accepted the upload. TestLookup keeps the task record for 24 hours, so a missing task record doesn’t prove that there’s no run. The upload guide on GitHub describes these steps.
Choose invalid file shows a task that fails after it was accepted. The walkthrough leaves open whether a run exists. It never retries a real upload.
Final status
The sample run finishes as FAILED, because some tests failed or broke. Choose all skipped, offered at the Parsing step, shows a run that finishes as STOPPED, because no test ran.
A run with no results stays in progress until TestLookup marks it as finished. The test run guide on GitHub sets out these rules.
Evidence detail
The last step lists the sample’s counts and both pass rates. It labels the task’s state, the run’s state and any missing information separately.
The run ID shown is the one TestLookup sends back. In TestLookup, use that ID to open a run, rather than a display name.
Reset
Back and Reset walkthrough only change what this page shows. Nothing is saved, and they touch no data or activity record in TestLookup.
Reset walkthrough goes back to Accepted. Reloading the page does the same, unless the page address names a step the page recognizes.
All the steps as text
The step-by-step text at the end of this page lists every step. It covers the accepted upload, reading the file, the finished FAILED run, the invalid file and the all-skipped STOPPED run. It’s complete even with JavaScript turned off.
Try it for real
When the steps make sense, try them for real. Follow the Quick start on a spare machine that you can wipe afterwards, then import your first report.
Open the Quick start.