Skip to content

Commit abc89a7

Browse files
python.md: Add real example for run_python_test for the lighting_app (project-chip#36645)
This PR adds a real example for running the `run_python_test.py` script against the `chip-lighting-app`.
1 parent 7c557f6 commit abc89a7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/testing/python.md

+6
Original file line numberDiff line numberDiff line change
@@ -631,6 +631,12 @@ example DUT on the host and includes factory reset support
631631
./scripts/tests/run_python_test.py --factory-reset --app <your_app> --app-args "whatever" --script <your_script> --script-args "whatever"
632632
```
633633

634+
For example, to run TC-ACE-1.2 tests against the linux `chip-lighting-app`:
635+
636+
```shell
637+
./scripts/tests/run_python_test.py --factory-reset --app ./out/linux-x64-light-no-ble/chip-lighting-app --app-args "--trace-to json:log" --script src/python_testing/TC_ACE_1_2.py --script-args "--commissioning-method on-network --qr-code MT:-24J0AFN00KA0648G00"
638+
```
639+
634640
# Running tests in CI
635641

636642
- Add test to the `repl_tests_linux` section of `.github/workflows/tests.yaml`

0 commit comments

Comments
 (0)