machine-shop / mothra

Automated butterfly wing length measurement
Other
27 stars 15 forks source link

Adding and refactoring tests for functions on pipeline.py #81

Closed alexdesiqueira closed 3 years ago

alexdesiqueira commented 3 years ago

In this PR, we fix tests for pipeline.py according to the latest algorithms, write documentation for the ones with no docs before, and add new tests for procedures with no testing functions so far.

alexdesiqueira commented 3 years ago

Alright @stefanv, I wanted to add all tests in this PR but it would get too large :slightly_smiling_face:

stefanv commented 3 years ago

Thanks for these, @alexdesiqueira! A good next step would be to add Github Actions CI so the tests are run automatically. A nice-to-have would be a command documented in the README or placed in a Makefile to get code coverage, so we can see where the test suite is deficient.