salt/tests/pytests
2022-12-21 14:15:33 -05:00
..
functional Initial removal usage of distutils and replacement with setuptools 2022-12-20 07:07:21 -07:00
integration No need to assert against custom modules nor it's docstring 2022-12-20 11:56:51 +00:00
scenarios Further cleanup, removed used of looseversion and packaging 2022-12-20 07:07:21 -07:00
unit fixes saltstack/salt#63356 allow setting max queue size for state runs 2022-12-21 14:15:33 -05: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.