From f3f5141e81a9d90b3577854db7a49079b3bc7952 Mon Sep 17 00:00:00 2001 From: jaknapper Date: Thu, 14 May 2026 11:57:28 +0100 Subject: [PATCH] Update readme --- tests/hardware_specific_tests/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/hardware_specific_tests/README.md b/tests/hardware_specific_tests/README.md index ec86b9d2..cb063ebf 100644 --- a/tests/hardware_specific_tests/README.md +++ b/tests/hardware_specific_tests/README.md @@ -20,6 +20,8 @@ To create a coverage report that will be included into the repository (and repor ./picamera_tests.py run +This will run every hardware test, recording their success or failure. As these tests are slow to run, it may be useful to set it to exit on first failure. To do this, run the above command with ` -x` at the end. + This will first run `pytest` on the hardware specific tests. This creates a `.coverage` database that can be used to analyse the code coverage of these tests. This will be copied to `.coverage.picamera`. The script will then create a zip of these test results along with hashes of source code for the Pi Camera: * `picamera.py`