zhenlab-ltri / NemaNode

Interactive map of neural connections in the nematode C. elegans. Online at http://nemanode.org.
http://nemanode.org
GNU General Public License v3.0
8 stars 4 forks source link

Test setup teardown #40

Closed d2fong closed 4 years ago

d2fong commented 4 years ago

This is the first step for #20 #24.

Also, can you elaborate on what you would like for #20 related to that catmaid testing file? I am not sure I know exactly what you are talking about.

dwitvliet commented 4 years ago

Awesome! Looking great. To answer your question regarding issue #20, I simply meant that it would optimal for the tests to work independent of the current data files. So if the data files change, the tests would still work perfectly. The CATMAID link is just one example of such a setup. Before each test, the test suite first populates the database with the minimally required data needed to perform the test. So the tests are completely independent of data.