Back to the glossary

Process and automation

Test report

A test report documents what was tested, with what result and under which conditions. It is the basis for release decisions and for evidence towards customers or authorities.

Also known as: test record, test protocol

What a test report should contain

  • Scope: which test cases ran, and which were deliberately skipped?
  • Results: passed, failed, blocked, each with details on the failures
  • DUT: exact software, firmware and hardware versions
  • Environment: test bench, tool versions, configuration
  • Measurements: for hardware tests, the values actually measured, not just “ok”
  • Time and responsible persons

Automatic instead of manual

Reports written by hand are laborious, error-prone and lag behind reality. Automated tests can produce their own report on every run, for example as an HTML page for the team and in a machine-readable format such as JUnit XML for the CI pipeline.

Reports as evidence

In regulated industries the test report is an official document. It has to be complete, archived without alteration and linked to the requirements through traceability. Automating this from the start saves a lot of work before audits.