Actions

## Code review #913

closed

### Create a test and make it work on travis.ci

Status:
Closed
Priority:
Normal
Start date:
11/06/2017
Due date:
% Done:

30%

Estimated time:
Spent time:

Description

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.

Sébastien.

Actions #1

#### Updated by Emmanuel Bertinabout 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/ sub-directory.
(/) 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 make check).

Actions #2

#### Updated by Sébastien Serreabout 4 years ago

• Assignee set to Sébastien Serre
Actions #3

#### Updated by Sébastien Serreabout 4 years ago

• Status changed from In Progress to Resolved

It is done. I have to set CHECKPLOT_DEV to NULL to make it work on travis.

Actions #4

#### Updated by Sébastien Serreover 3 years ago

• Status changed from Resolved to Closed
Actions

Also available in: Atom PDF