Homec4science

global: test suite nosification

Authored by Tibor Simko <tibor.simko@cern.ch> on Feb 5 2013, 17:51.

Description

global: test suite nosification

  • Makes unit and regression test cases more friendly with respect to nose defaults. That is, decorates functions that are not test cases as such, otherwise nose's defaults would consider them when running the test suite. The nosification is useful for plugging test case output to Jenkins.
  • Fixes all the codebase except WebSubmitFileConverterTestGenerator dynamically generated test cases in websubmit_regression_tests.py.
  • Note that it is now possible to run unit tests like: nosetests /opt/invenio/lib/python/invenio/*_unit_tests.py and regression tests like: nosetests /opt/invenio/lib/python/invenio/*_regression.py. This gives equivalent results to inveniocfg --run-unit-tests and inveniocfg --run-regression-tests, respectively, modulo dynamically generated WebSumit tests mentioned above.

Details

Committed
Tibor Simko <tibor.simko@cern.ch>Feb 6 2013, 14:53
Parents
R3600:8abd2ae67634: Merge branch 'maint-1.0' into maint-1.1
Branches
Unknown
Tags
Unknown

Event Timeline

Tibor Simko <tibor.simko@cern.ch> committed R3600:ea6cef9ddf58: global: test suite nosification (authored by Tibor Simko <tibor.simko@cern.ch>).Feb 6 2013, 14:53