Code review #913closed
Create a test and make it work on travis.ci
We need to have a kind of global test covering the most possible functionalities of scamp, to alert us of a possible regressio. For this, we need some input files (input catalogs, reference catalog), the expected result and method to verify that.
Updated by Emmanuel Bertin about 4 years ago
- Status changed from New to In Progress
- % Done changed from 0 to 30
(/) Created a new
tests branch on GitHub with a
(/) Tests can run with the usual
make check command.
(/) Created a first
test01.py test that checks for the MATCHing contrasts, number of cross-match detections, and standard deviations in the calibrated result on a set of 7 MEGACAM catalogs.
(!) Note that the script
test01.py normally writes info the standard output, although the
make check seems to remove all output (how to change that?).
(!) I haven't updated the Travis file (yet). Should be straightforward (add a