Run the tests
Run QA on DevMatrix, or run the build's tests on your machine and send the results back.
At the end of this step: An accepted test run of the build, with its grade and every test that did not pass by name.
Run QA on DevMatrix
A compile delivers the build without running its tests. The build shows Ready for QA until a test run of it is accepted.
On the build's page, choose Run QA. UTS, Load and your app's test suite run together on DevMatrix servers, using one of this week's QA sessions of the application. Your plan includes a number of sessions per application each week; they reset on Monday at 00:00 UTC. The QA +1 and QA Unlimited packs add sessions to one application, in Plan & usage.
When it finishes, the build shows how it stands: QA run · passed when every test passed; QA run · graded A · N failed · N crashed when tests failed, or crashed and could not be measured, and the build can still be sealed; QA run · seal blocked when a failed security test, or a failed test with no category, stops the seal; and QA run · below grade A below the seal's grade. It also shows its grade, the Load result, your app's test suite, and every test that did not pass by name, with how it ended: failed, crashed, blocked, skipped or not reached. A run that could not run gives its session back.
With no session left, or on a plan without QA sessions, run the tests on your machine instead, as below. A QA run accepted on DevMatrix counts before a run of yours on the same build.
Run the tests on your machine
Allow the connection to submit results
In Account → MCP Connections, check that Submit test results is on for the connection you use. The application shows Awaiting your run while it waits for your results.
1. Download the build
Download the code of the build you just compiled into a new empty folder,
check it, and show me how to run its tests.The agent asks for a download with get_build_code_download. The link works once, for ten minutes, and comes with the size and the SHA-256 of the archive. The agent downloads it into a new empty folder and checks both; if either differs, it discards the file and runs nothing.
2. Run the tests
The agent reads get_client_run_instructions: the steps in order and, for each service of the build, the one command that starts the application and runs its generated tests, and the folder where the results are written. Services that cannot be run are listed with the reason.
The tests run on your machine, against the application they start there. Keep the results as they were written; they are checked against this build.
3. Send the results, with your consent
- For each service, the agent prepares the upload with
submit_client_run_prepareand shows you the consent text, word for word, and the files it would send. - Only after your explicit yes does it confirm with
submit_client_run_confirmand upload the files. - It closes the upload with
submit_client_run_receive, which says whether the results were accepted, refused, or are still being checked. If they are still being checked, the agent reads the run again a little later withget_client_run.
What the application shows
- Awaiting your run: no results yet.
- Self-attested · passed: your results were accepted and every test passed.
- Self-attested · N failed: tests failed and the build can still be sealed; the grade is beside it.
- Self-attested · seal blocked: a failed security test, or a failed test with no category, stops the seal.
- Self-attested · below grade A: the grade is below the seal's grade.
You reported these results. DevMatrix checked their format against this build, not their outcome. DevMatrix did not run the tests itself.
A service's results can be refused, and the application names why:
- The run's record could not be read.
- The run's record does not match this build.
- The output contains what looks like a secret.
- The output is over its size limit.
- The uploaded files do not match the run's record.
- The test results could not be read.
- A test diagnostic is not in the expected form.
- The test results are not in the expected form.
- The tested application is not the one this build produced.
Run the service's tests again and send the new results.