DIANE2 Testing
Basic
DIANE tests are kept in:
python/diane/test
.
-
run.py
main test driver
-
test*
individual test cases
-
*.cfg
predefined system configuration files
Main test driver
Run all tests at once with minimal output:
cd python/diane/test
python run.py
The full test suite is repeated over all predefined configuration files.
See
--help
for more options.
Individual tests
When run directly the individual tests produce more verbose output and apply the default configuration.
Example:
cd python/diane/test
python testOK.py
Fine-tuning of individual tests
To set the default logging level to DEBUG:
env DIANE_OUTPUT_LEVEL=DEBUG python testOK.py
To set the configuration file:
env DIANE_CONFIG=default.cfg python testOK.py
--
JakubMoscicki - 11 Dec 2007