Expanded documentation

This commit is contained in:
2025-07-24 08:52:31 +02:00
parent 932c107e6f
commit bec881ce7d

View File

@@ -59,6 +59,22 @@ pytest tests/sinqMotor/turboPmac/
```
This runs all Turbo PMAC tests within the directory.
To run a specific test file:
```console
pytest tests/sinqMotor/turboPmac/lin1/test_common.py
```
And to run a specific test "test_something" within this file:
```console
pytest tests/sinqMotor/turboPmac/lin1/test_common.py -k 'test_something'
```
Pytest normally suppresses stdout (which is where Pythons `print` writes by default).
To show it, use the `-s` flag:
```console
pytest -s tests/sinqMotor/turboPmac/lin1/test_common.py -k 'test_something'
```
## Running custom scripts
The test framework can also be used to run custom scripts. The file