Update Installation guide authored by Moreau Nicolas's avatar Moreau Nicolas
...@@ -105,6 +105,34 @@ Stopping the application ...@@ -105,6 +105,34 @@ Stopping the application
Performing tests Performing tests
================ ================
Running the tests
-----------------
1. Execute ./yafits test 1. Execute ./yafits test
This will generate a report file in the Yafits home directory This will generate a report file in the Yafits home directory
\ No newline at end of file
Configuring the tests
---------------------
The configuration is done through the .yafits.bashrc file.
# contains reference json files against which the tests will be performed
export YAFITS_REFDIR=/obs/partemix/yafits_tmp/REF
# contains the test json files
export YAFITS_OBJDIR=/obs/partemix/yafits_tmp/OBJ
# if true, a json data file will be created in YAFITS_OBJDIR for each opened data cube
export YAFITSV_TESTMODE=true
How it works
------------
All the files existing in YAFITS_REFDIR will be compared to the file with the same name in YAFITS_OBJDIR
The result of the comparison will be stored in a report file in the home directory of Yafits