salt/tests/pytests
2024-03-28 13:50:44 +00:00
..
functional Merge 3006.x into 3007.x 2024-03-28 13:50:44 +00:00
integration Reap child processes after each of the ssh tests in case of timeouts 2024-03-27 18:44:44 +00:00
pkg Merge 3006.x into 3007.x 2024-03-28 13:50:44 +00:00
scenarios Merge 3006.x into 3007.x 2024-02-29 14:25:24 +00:00
unit Merge 3006.x into 3007.x 2024-03-28 13:50:44 +00:00
__init__.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
conftest.py Update pre-commit hook versions 2024-02-29 12:30:49 +00:00
README.md Fix broken backport 64229 form master to 3006.x 2023-05-26 07:30:29 +01: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 directory shall become the top level tests directory.