salt/tests/pytests
2021-03-03 06:21:53 -05:00
..
functional Use pytest skips 2021-03-01 08:19:14 -05:00
integration Address Bandit's B602(subprocess_popen_with_shell_equals_true) on the test suite 2021-03-03 06:21:53 -05:00
scenarios First end-to-end testsuite for salt backwards compatibility testing 2021-02-25 12:21:23 -05:00
unit Move openvswitch state tests to pytest 2021-03-02 13:22:14 +00:00
__init__.py Better name for the pytest only directory 2020-05-21 23:59:36 -07:00
conftest.py Migrate the ZeroMQ and TCP transport unit tests to PyTest 2021-01-06 18:23:26 +00: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.