badf0a145f
pytest 4.6.10: Features - New ``Config.invocation_args`` attribute containing the unchanged arguments passed to ``pytest.main()``. Remark: while this is technically a new feature and according to our `policy <https://docs.pytest.org/en/latest/py27-py34-deprecation.html#what-goes-into-4-6-x-releases>`_ it should not have been backported, we have opened an exception in this particular case because it fixes a serious interaction with ``pytest-xdist``, so it can also be considered a bugfix. Trivial/Internal Changes - Remove usage of ``parser`` module, deprecated in Python 3.9. pytest 4.6.9: Bug Fixes - Fix assertion rewriting for egg-based distributions and ``editable`` installs (``pip install --editable``). pytest 4.6.8: Features - JUnit XML now includes a timestamp and hostname in the testsuite tag. Bug Fixes - junitxml: Logs for failed test are now passed to junit report in case the test fails during call phase. Trivial/Internal Changes - Pin ``colorama`` to ``0.4.1`` only for Python 3.4 so newer Python versions can still receive colorama updates. pytest 4.6.7: Bug Fixes - The XML file produced by ``--junitxml`` now correctly contain a ``<testsuites>`` root element. - Properly ignore ``FileNotFoundError`` (``OSError.errno == NOENT`` in Python 2) exceptions when trying to remove old temporary directories, for instance when multiple processes try to remove the same directory (common with ``pytest-xdist`` for example).
12 lines
528 B
Text
12 lines
528 B
Text
The pytest framework makes it easy to write small tests, yet scales to support
|
|
complex functional testing for applications and libraries.
|
|
|
|
Features
|
|
* Detailed info on failing assert statements (no need to remember self.assert*
|
|
names);
|
|
* Auto-discovery of test modules and functions;
|
|
* Modular fixtures for managing small or parametrized long-lived test
|
|
resources;
|
|
* Can run unittest (including trial) and nose test suites out of the box;
|
|
* Rich plugin architecture, with over 315+ external plugins and thriving
|
|
community;
|