File: README.rst

package info (click to toggle)
bootstrap-vz 0.9.11%2B20180121git-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,244 kB
  • sloc: python: 8,800; sh: 813; makefile: 16
file content (22 lines) | stat: -rw-r--r-- 709 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
The testing framework consists of two parts:
The unit tests and the integration tests.

The `unit tests <unit>`__ are responsible for testing individual
parts of bootstrap-vz, while the `integration tests <integration>`__ test
entire manifests by bootstrapping and booting them.

Selecting tests
---------------
To run one specific test suite simply append the module path to tox:

.. code-block:: sh

    $ 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

    $ tox -e unit tests.unit.releases_tests:test_lt tests.unit.releases_tests:test_eq