[389-devel] Running single tests against dirsrv

William william at firstyear.id.au
Mon Mar 23 00:58:16 UTC 2015


Hi,


I want to run the ds tests from ds/dirsrvtests/suites/dynamic-plugins.

At the moment I can do this with:

cd ds/dirsrvtests/suites/dynamic-plugins
PYTHONPATH=/home/wililam/development/389ds/lib389 PREFIX=/srv py.test

And this tests "all" of the directory server tests in the directory.

However, If I want to run just one test, the following happens:

PYTHONPATH=/home/wililam/development/389ds/lib389 PREFIX=/srv py.test -k
test_mep
platform linux2 -- Python 2.7.8 -- py-1.4.26 -- pytest-2.6.4
collected 2 items 

2 tests deselected by '-ktest_mep'

So I can't actually just test these individual components.

Is there something I am missing here? What's the best way to run single
tests out of dynamic-plugins?


-- 
William <william at firstyear.id.au>



More information about the 389-devel mailing list