detectree2 icon indicating copy to clipboard operation
detectree2 copied to clipboard

Detectree2 testing

Open ma595 opened this issue 1 year ago • 0 comments

A quick review of testing in Detectree2 has highlighted the following issues:

  • There is a large amount of overlap between the integration test in demo.py and the unit testing in this directory.
  • The current testing strategy is to use unittest in coordination with pytest. Is this necessary? Pytest can be used exclusively.
  • The unit tests here are not clearly marked as such. Consider moving into unit directory.
  • test_models.py will always succeed because of the self.assertEqual(1,1).
  • test_evaluation.py is largely incomplete.

ma595 avatar Dec 02 '23 13:12 ma595