py.test: add -F option to run functional tests
ClosedPublic

Authored by kparal on Apr 2 2014, 12:43 PM.

Details

Summary

As discussed in D38 and T89, this implements a short option for running functional tests.

Test Plan
$ py.test --help | grep -C 2 functional

custom options:
  -F, --functional      Add functional tests

and

$ py.test -F testing/
[libtaskotron:logger.py:63] 2014-04-02 14:42:21 DEBUG   doing stream logging
=========================================================== test session starts ============================================================
platform linux2 -- Python 2.7.5 -- py-1.4.20 -- pytest-2.5.2
plugins: cov
collected 79 items / 1 skipped 

testing/functest_python_directive.py ...
testing/test_bodhi_directive.py .......
testing/test_bodhi_utils.py ..
testing/test_check.py .....................
testing/test_koji_directive.py ..
testing/test_koji_utils.py ...
testing/test_python_directive.py ........
testing/test_python_utils.py ..
testing/test_runner.py ........................
testing/test_taskyaml.py .......

=================================================== 79 passed, 1 skipped in 0.43 seconds ===================================================

Diff Detail

Lint
Lint Skipped
Unit
Unit Tests Skipped
mkrizek accepted this revision.Apr 2 2014, 1:16 PM

Looks good to me

ralph accepted this revision.Apr 2 2014, 1:46 PM

+1

kparal closed this revision.Apr 3 2014, 9:07 AM

Closed by commit rLTRNba654c897083 (authored by @kparal).