ceph-ansible/tests
Andrew Schoen c02ffdb0e0 tests: change conftest.py to support dynamic markers and test selection
This applies correct markers to tests depending on their file path.
Tests that live at the root of tests/functional/tests will be given a
marker of 'all' and apply to any type of ceph node.

Tests that live in tests/functional/tests/mon will get the
'mons' marker and will only run for nodes in the 'mons' group.

Tests that live in tests/functional/tests/osd will get the 'osds'
marker and will only run for nodes in the 'osds' group.

All tests must use the CephNode fixture for this to work and be
parameterized by testinfra.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-12-06 14:56:18 -06:00
..
functional tests: make centos7_cluster use three mons 2016-12-01 17:27:09 -06:00
inventories add a mdss group to the CLI testing inventory 2016-05-06 14:47:45 -05:00
scenarios tests: create an example scenario file 2016-11-04 13:59:33 -04:00
scripts tests: add a helper script to generate vagrant ssh configs 2016-11-04 14:13:30 -04:00
README.md WIP: first implementation of functional tests 2015-02-22 02:31:28 +01:00
README.rst tests: create a README with some explanation on how to use the test harness 2016-11-04 13:59:33 -04:00
conftest.py tests: change conftest.py to support dynamic markers and test selection 2016-12-06 14:56:18 -06:00
pytest.ini tests: placeholder pytest.ini to define test root dir 2016-11-04 13:59:32 -04:00
requirements.txt tests: use testinfra in tox.ini instead of pytest directly 2016-12-06 14:56:18 -06:00

README.md

Functional tests

These playbooks aim to individually validate each Ceph component. Some of them require packages to be installed. Ideally you will run these tests from a client machine or from the Ansible server.