@@ -11,7 +11,7 @@ If you would like to suggest improvements and new capabilities for Gryphon pleas
* Mock screenshots, if applicable, to clarify the change.
# Manual testing
Test the Gryphon GUI by trying out the various controls in the menus, the code editor, and the main window.
You can test the Gryphon GUI by interacting with the various controls in the menus, the code editor, and the main window.
# Automated testing
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:
...
...
@@ -27,8 +27,12 @@ The optional parameters are:
The test generates the following output:
## CSV log
The CSV log is a comma separated value output file that can be imported into a spreadsheet. It contains totals of various attributes, useful for quantifying trace generation and for detecting changes due to modifications or regression. Columns include:
* CSV log
* Trace and global view graphs
* Runtime status
#### CSV log
The CSV log is a comma separated value output file that can be imported into a spreadsheet. It contains totals of various attributes, useful for quantifying generated attributes and for detecting changes due to modifications or regression. Columns include:
* Filename
* Schema name
...
...
@@ -42,7 +46,16 @@ Here is an example spreadsheet view:
CSV logs are created in the directory that `test.py` is run from. The filename includes the time the test was started and is of the form `_test_log_<timestamp>.csv`.
#### Trace and global view graphs
Graphs allow visual inspection of every trace and global view generated. While the CSV log quantifies graph components, useful for detecting change, graph views enable visual inspection of graph component associations.
A graph of each trace is generated in directory `_test_graphs` in the directory that `test.py` is run from. Each graph is named by its schema and theree-digit graph number as follows: `<schema name>_<graph number>.png`.
#### Runtime status
Runtime status indicates the index and name of the .mp code file currently being worked on. Runtime status will also show runtime errors.
# Code
Please submit code by submitting pull requests. Here is the basic workflow: