salt/tests/pytests
Pedro Algarvio 858bcf4b58 Always populate __sls__, __id__ and name on state requirements
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2022-11-04 08:18:00 -06:00
..
functional Try to fix flaky test by seting config mode to apply only 2022-10-21 15:59:45 -06:00
integration Use new image for ssh test and wait for container sshd service to start 2022-11-02 12:14:32 -06:00
scenarios Merge branch 'master' into hotfix/fix-62829-mac-tests 2022-10-18 12:09:50 -04:00
unit Always populate __sls__, __id__ and name on state requirements 2022-11-04 08:18:00 -06:00
__init__.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
conftest.py Merge tag 'v3005.1' into merge-forward/3005.1 2022-10-04 20:52:23 -04: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.