Source Package: python-pytest-reorder (0.1.1-bp156.3.1)
Pytest plugin for reordering tests depending on their paths and names
Reorder tests depending on their nodeids (strings of test file path plus test name plus parametrization, like: ``test/test_prefix_reordering.py::test_reordering_default[test_names5-expected_test_order5]``). Normally tests are sorted alphabetically. That makes integration tests run before unit tests. With **pytest_reorder** you can install a hook that will change the order of tests in the suite. By default **pytest_reorder** will seek for *unit*, *integration* and *ui* tests and put them in the following order: * *unit* * all tests with names not indicating unit, integration, nor UI tests * *integration* * *ui* The default regular expressions can find unit, integration and UI tests both laid flat and **deeply nested**. You can also specify your custom order.
Package information
- Homepage
- [https://github.com/not-raspberry/pytest_reorder]
- License
- MIT
- Downstream-Paketbetreuer
- Unbekannt: in der indizierten Quelle nicht gemeldet
The following binary packages are built from this source package:
- python3-pytest-reorder
Pytest plugin for reordering tests depending on their paths and names
