Update Contributing to Gryphon authored by Allen, Bruce (CIV)'s avatar Allen, Bruce (CIV)
...@@ -14,12 +14,12 @@ If you would like to suggest improvements and new capabilities for Gryphon pleas ...@@ -14,12 +14,12 @@ If you would like to suggest improvements and new capabilities for Gryphon pleas
Test the Gryphon GUI by trying out the various controls in the menus, the code editor, and the main window. Test the Gryphon GUI by trying out the various controls in the menus, the code editor, and the main window.
# Automated testing # Automated testing
Automated testing is also available for testing .mp files, the trace generator, and core Gryphon components. For automated testing, run `test.py [-p <path to models>] [-i <index>] [-s <scope>]`. For example: Automated testing is available for testing .mp files, the trace generator, and core Gryphon components. For automated testing, run `test.py [-p <path to models>] [-i <index>] [-s <scope>]`. For example:
cd ~/mp_gryphon/gryphon/python cd ~/mp_gryphon/gryphon/python
./test.py ./test.py
These are the options: The optional parameters are:
* `-p <path to models>` - A directory containing .mp models to test with, default `../../preloaded-examples/models`. * `-p <path to models>` - A directory containing .mp models to test with, default `../../preloaded-examples/models`.
* `-i <index>` - Use this option to test just the .mp model at this index. * `-i <index>` - Use this option to test just the .mp model at this index.
... ...
......