salt/tests/pytests
2021-07-06 09:04:28 -04:00
..
functional No hacks when interacting with ansible. Access all available modules, not just internal. 2021-06-30 11:39:28 -07:00
integration Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
scenarios Removing unsupported version of Salt from tests.pytests.scenarios.compat.test_with_versions.py 2021-06-24 13:25:37 -04:00
unit Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
__init__.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
conftest.py Disable macOS Mojave log forwarding on the proxy minion tests 2021-06-22 13:40:42 -04:00
README.md Better name for the pytest only directory 2020-05-21 23:59:36 -07:00

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.