bootstrap-vz/tests/README.rst

23 lines
703 B
ReStructuredText
Raw Normal View History

2015-04-16 23:30:41 +02:00
The testing framework consists of two parts:
2015-04-20 13:04:17 +02:00
The unit tests and the integration tests.
The `unit tests <unit>`__ are responsible for testing individual
2015-04-20 16:25:54 +02:00
parts of bootstrap-vz, while the `integration tests <integration>`__ test
entire manifests by bootstrapping and booting them.
2015-05-02 11:51:17 +02:00
Selecting tests
---------------
To run one specific test suite simply append the module path to tox:
.. code-block:: sh
2015-05-02 11:51:17 +02:00
$ tox -e unit tests.unit.releases_tests
Specific tests can be selected by appending the function name with a colon
to the modulepath -- to run more than one tests, simply attach more arguments.
.. code-block:: sh
2015-05-02 11:51:17 +02:00
$ tox -e unit tests.unit.releases_tests:test_lt tests.unit.releases_tests:test_eq