You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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:
RegenerateConnectome.py
and check for0
exit code (mentioned above)SpreadsheetDataReader.py
and check for0
OpenWormReader.py
and check for0
The text was updated successfully, but these errors were encountered: