freeipa/ipatests
Christian Heimes fd1b4f6ec9 Add options to run only ipaclient unittests
A new option for ipa-run-tests makes the test runner ignore
subdirectories or skips tests that depend on the ipaserver package or on
a running framework for RPC integration tests. The new option enables
testing of client-only builds.

$ ipatests/ipa-run-tests --ipaclient-unittests
...
platform linux2 -- Python 2.7.13, pytest-2.9.2, py-1.4.32, pluggy-0.3.1
rootdir: /home/heimes/redhat, inifile: tox.ini
plugins: sourceorder-0.5, cov-2.3.0, betamax-0.7.1, multihost-1.1
collected 451 items

test_util.py ........
util.py ..
test_ipaclient/test_csrgen.py ..............ssss...
test_ipalib/test_aci.py ...................
test_ipalib/test_backend.py ........
test_ipalib/test_base.py ...............
test_ipalib/test_capabilities.py .
test_ipalib/test_cli.py ...
test_ipalib/test_config.py ...............
test_ipalib/test_crud.py ...............
test_ipalib/test_errors.py .......
test_ipalib/test_frontend.py ........................................
test_ipalib/test_messages.py ....
test_ipalib/test_output.py ...
test_ipalib/test_parameters.py .............................................................
test_ipalib/test_plugable.py ........
test_ipalib/test_rpc.py ......ssssssss
test_ipalib/test_text.py .............................
test_ipalib/test_x509.py ...
test_ipapython/test_cookie.py ............
test_ipapython/test_dn.py ...........................
test_ipapython/test_ipautil.py ..................................................................
test_ipapython/test_ipavalidate.py ..........
test_ipapython/test_kerberos.py ..............
test_ipapython/test_keyring.py ..........
test_ipapython/test_ssh.py ...............................
test_pkcs10/test_pkcs10.py .....

https://fedorahosted.org/freeipa/ticket/6517

Signed-off-by: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
2017-03-17 15:02:13 +01:00
..
man Build: remove incorrect use of MAINTAINERCLEANFILES 2016-11-16 09:12:07 +01:00
pytest_plugins Add options to run only ipaclient unittests 2017-03-17 15:02:13 +01:00
test_cmdline Add options to run only ipaclient unittests 2017-03-17 15:02:13 +01:00
test_install Add options to run only ipaclient unittests 2017-03-17 15:02:13 +01:00
test_integration Add options to run only ipaclient unittests 2017-03-17 15:02:13 +01:00
test_ipaclient test_csrgen: adjusted comparison test scripts for CSRGenerator 2017-03-07 13:18:14 +01:00
test_ipalib Add options to run only ipaclient unittests 2017-03-17 15:02:13 +01:00
test_ipapython Fix Python 3 pylint errors 2017-03-15 19:11:32 +01:00
test_ipaserver Add options to run only ipaclient unittests 2017-03-17 15:02:13 +01:00
test_pkcs10 pkcs10: use python-cryptography for CSR processing 2016-11-10 10:21:47 +01:00
test_webui Add options to run only ipaclient unittests 2017-03-17 15:02:13 +01:00
test_xmlrpc Add options to run only ipaclient unittests 2017-03-17 15:02:13 +01:00
__init__.py Make an ipa-tests package 2013-06-17 19:22:50 +02:00
conftest.py Add options to run only ipaclient unittests 2017-03-17 15:02:13 +01:00
data.py Fix more bytes/unicode issues 2015-10-22 18:34:46 +02:00
i18n.py Improve the robustness FreeIPA's i18n module and its tests 2016-11-28 13:58:33 +01:00
ipa-run-tests Enable additional warnings (BytesWarning, DeprecationWarning) 2017-02-10 16:16:44 +01:00
ipa-test-config Use the print function 2015-09-01 11:42:01 +02:00
ipa-test-task Use the print function 2015-09-01 11:42:01 +02:00
Makefile.am Build: fix distribution of static files for web UI 2016-11-09 13:08:32 +01:00
setup.cfg Port all setup.py to setuptools 2016-10-20 18:43:37 +02:00
setup.py Add options to run only ipaclient unittests 2017-03-17 15:02:13 +01:00
test_util.py Catch ValueError raised by pytest.config.getoption() 2017-01-05 17:35:33 +01:00
util.py Add options to run only ipaclient unittests 2017-03-17 15:02:13 +01:00