This is an old revision of the document!
The test battery consists in a large number of simple simulations that should be run everytime changes are made to the Lagamine code to ensure these changes do not alter previous developments.
The goal of the test battery is to improve the robustness of the code and avoid mistakes.
The organisation chart of the procedure is presented in figure 1.
Fig. 1: Test battery flowchart
For the moment, the battery of tests is installed in “\\obelix\c\Test Battery”.
The folder 'Tests' (see figure 4) contains all the tests.
Each test is in a separate folder named with the same name as the test defined in “Test_battery.txt”. This folder contains:
Local report
The local report is attached to the test folder and has the same name as the test (name_test.rep). This local report contains the details of the error(s) obtained when comparing the new test results to the reference.
It is structured as follows:
Fig. 5: Local report
Global report
The global report is attached to the principal python script folder (Report_date.rep).
It contains the following information:
To add a new test, the user should: