salt/tests/pytests
2023-05-22 14:21:25 -04:00
..
functional Add signed_by_[any|all] parameters to gpg.verify (#63168) 2023-05-09 13:24:48 -06:00
integration Fix tests, return res dict 2023-05-15 20:45:48 +00:00
scenarios Fix setup.py called with salt args 2023-04-20 13:39:44 +00:00
unit removing azure code from repo 2023-05-22 14:21:25 -04:00
__init__.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
conftest.py Revert "Updating integration tests to launch more sub proxies. Update single target tests to use a sample of 4 sub proxies for the target." 2023-05-02 19:57:38 +00:00
README.md Move the mac_user._kcpassword unit test into the pytests directory. 2023-05-15 20:46:34 +00: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.