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

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r2 - 2007-12-12 - JakubMoscicki
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    ArdaGrid All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback