Pedro Algarvio a0086b167d Migrate `tests/integration/modules/test_saltutil.py` to PyTest 4 years ago
..
functional 19c72464df Migrate `integration.minion.test_pillar` to PyTest 4 years ago
integration a0086b167d Migrate `tests/integration/modules/test_saltutil.py` to PyTest 4 years ago
scenarios 2477ebfb35 Migrate multimaster tests to PyTest 4 years ago
unit 9714bd00fa virt: add stop_on_reboot parameter in guest states and definition 4 years ago
README.md dbdbfbcb01 Better name for the pytest only directory 4 years ago
__init__.py dbdbfbcb01 Better name for the pytest only directory 4 years ago
conftest.py f334fee0b6 Use a random port for the vault container 4 years ago

README.md

New Test Suite

Welcome to the new test suite for Salt!

Any test under this directory shall be written exploring the full capabilities of PyTest. That means, no occurrences of the TestCase class shall be used, neither our customizations to it.

Purpose

While PyTest can happily run unittest tests(withough taking advantage of most of PyTest's strengths), this new path in the tests directory was created to provide a clear separation between the two approaches to writing tests. Some(hopefully all) of the existing unittest tests might get ported to PyTest's style of writing tests, new tests should be added under this directory tree, and, in the long run, this directoy shall become the top level tests directoy.