-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Description
Some scripts in this directory can be tested using a framework like pytest.
A rudimentary example would be to run RegenerateConnectome and look for a 0 exit code (i.e. the script exited successfully).
Higher value tests can compare the outputs of these modules to an expected output, or run specific functions defined in them. This will vary depending on the actual script in question.
For now, let's enumerate some modules, and possible tests that could provide a benefit:
- Run
RegenerateConnectome.pyand check for0exit code (mentioned above) - Run
SpreadsheetDataReader.pyand check for0 - Run
OpenWormReader.pyand check for0