Expanded documentation
This commit is contained in:
16
README.md
16
README.md
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user