added -s option to test to skip time consuming tests. also updated readme accordingly
This commit is contained in:
@ -12,7 +12,12 @@ The most import definitions are the BasePattern, and BaseRecipe, which define th
|
||||
The way to run a MEOW system is to create and MeowRunner instance, found in **core/runner.py**. This will take 1 or more Monitors, 1 or more Handlers, and 1 or more Conductors. In turn, these will listen for events, respond to events, and execute any analysis identified. Examples of how this can be run can be found in **tests/testRunner.py**
|
||||
|
||||
## Testing
|
||||
Pytest unittests are provided within the 'tests directory, as well as a script **test_all.sh** for calling all test scripts from a single command. Individual test scripts can be started using:
|
||||
Pytest unittests are provided within the 'tests directory, as well as a script **test_all.sh** for calling all test scripts from a single command. This can be
|
||||
run as:
|
||||
|
||||
test_all.sh -s
|
||||
|
||||
This will skip the more time consuming tests if you just need quick feedback. Without the -s argument then all tests will be run. Individual test scripts can be started using:
|
||||
|
||||
pytest test_runner.py::MeowTests -W ignore::DeprecationWarning
|
||||
|
||||
|
Reference in New Issue
Block a user