salt/tests/pytests
2022-12-02 12:57:41 -07:00
..
functional Skip tests that fail when not running on the GH Actions pipelines 2022-12-02 11:19:30 +00:00
integration Clean the cached file since that will fail when verify_ssl is true 2022-12-02 11:19:30 +00:00
scenarios Increase timeout for the minion swarm scenario tests 2022-12-02 16:04:42 +00:00
unit fixes saltstack/salt#63093 add ability for file.symlink to not set ownership on existing links 2022-12-02 12:57:41 -07:00
__init__.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
conftest.py Create this.txt and this.txt.sha256 at runtime 2022-12-02 11:19: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.