[Casa-framework] test programs

Wes Young wyoung at nrao.edu
Fri Dec 1 17:05:54 EST 2006


Greetings,

I'm not sure we have any hard and fast rules about it but I would  
like to offer up the following suggestion for where to put test  
programs and scripts.

If your test program is a C++ program, put it in implement/Module/ 
test, i.e. say you have a new calibration test program called  
tCalTestIt.cc it should be checked into implement/ 
MeasurementComponents/test.  Note the program starts with a lower  
case t.

If your test program requires displaying a GUI, can we have them  
recognize they not being run in a gui environment and just return an  
UNTESTED?

Scripts, I suggest test scripts should go into scripts/test.  So that  
spiffy python test script you wrote call tSpiffyTest.py should find  
it's way into xmlcasa/scripts/test/tSpiffyTest.py.

wes
wyoung at aoc.nrao.edu




More information about the Casa-framework mailing list