salt/tests/pytests
David Murphy a83582cab1
Some checks are pending
CI / Prepare Workflow Run (push) Waiting to run
CI / Pre-Commit (push) Blocked by required conditions
CI / Lint (push) Blocked by required conditions
CI / NSIS Tests (push) Blocked by required conditions
CI / Prepare Release: (push) Blocked by required conditions
CI / Documentation (push) Blocked by required conditions
CI / Build Source Tarball (push) Blocked by required conditions
CI / Build Onedir Dependencies (push) Blocked by required conditions
CI / Build Salt Onedir (push) Blocked by required conditions
CI / Build Packages (push) Blocked by required conditions
CI / CI Deps (push) Blocked by required conditions
CI / Test Package (push) Blocked by required conditions
CI / Test Salt (push) Blocked by required conditions
CI / Combine Code Coverage (push) Blocked by required conditions
CI / Set the Pipeline Exit Status (push) Blocked by required conditions
Updated dnf list tests for option --upgrades
2025-03-06 13:45:36 -07:00
..
functional Fix checking retcodes with runas on Windows 2025-03-06 13:45:16 -07:00
integration Add regression test for #66562 2025-02-12 16:58:48 -07:00
pkg Update various out-dated links, emails, etc. 2025-01-11 15:25:01 -07:00
scenarios Fix flaky multi-master test 2025-02-12 16:58:48 -07:00
unit Updated dnf list tests for option --upgrades 2025-03-06 13:45:36 -07:00
__init__.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
conftest.py Fix publish_signing_algorithm conditional 2024-06-18 22:12:20 -07:00
README.md Fix broken backport 64229 form master to 3006.x 2023-05-26 07:30:29 +01: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.