Pedro Algarvio 50677d6df9 Migrate `tests/unit/states/test_alternatives.py` to PyTest | 4 år sedan | |
---|---|---|
.. | ||
integration | 4 år sedan | |
unit | 4 år sedan | |
README.md | 4 år sedan | |
__init__.py | 4 år sedan | |
conftest.py | 4 år sedan |
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.
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.