-
Notifications
You must be signed in to change notification settings - Fork 40
Description
@matthewhoffman came up with a great suggestion of no longer generating the ./run.py
scripts (which can't usefully be edited to make changes to the test case or step anyway) and instead going with a command compass run
that runs a suite, test case or step.
The main consideration is how the information unique to the suite, test case or step that is currently in run.py
gets stored and retrieved. Presumably, the pickle files for test case and steps could be given more generic names and then compass
could recognize whether a directory is a test case or a step by whether there's a test_case.pickle
or step.pickle
.
Test suites are a little more complicated because several suites can get set up in the same directory. In that case, it probably makes sense to have a pickle file for each suite and call compass run <suite>
, where <suite>
is the (hopefully unique) name of the suite.