next up previous contents external
Next: User interface Up: Adding a new phase: Previous: Debug support

Non-regression validation tests

 

Managing a big project is very hard without appropriate test procedures. For this goal, it is quite useful to add some test examples to run PIPS every night on it and to compare the output with files containing the expected results. In this way, running a validation after modifying a part of PIPS give more confidence about the global status.

The typical test example is put in a directory in $PIPS_ROOT/Validation, for example in the Transformation directory. For each example Fortran code contained in example.f, a script example.test and a example.result/test should be written so that every night the script is executed and use example.f to generate an output compared to the test expected output.


next up previous contents external
Next: User interface Up: Adding a new phase: Previous: Debug support

Ronan KERYELL
vendredi, 20 décembre 1996, 16:25:47 MET