salt/tests/pytests
Wayne Werner 51f561065c Add tests for deprecation warnings
Rather than just rely on the test suite, we also add a deprecation
warning to the test module, which will enable a simple method for
ensuring that DeprecationWarnings are correctly emitted.
2023-01-10 12:53:49 -07:00
..
functional Use packaging for version parsing. looseversion when needed only. 2023-01-09 12:31:51 -07:00
integration Add tests for deprecation warnings 2023-01-10 12:53:49 -07:00
scenarios Stop relying on salt/_version.py to write Salt's version. 2023-01-09 12:31:51 -07:00
unit Fix version checks 2023-01-10 07:11:06 -07:00
__init__.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
conftest.py Less verbose until we figure out what's going so it doesn't blow up jenkins slaves heap 2022-12-08 11:53:30 +00:00
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.