[py-dev] upcoming 2.2 features / RFC
holger krekel
holger at merlinux.eu
Sat Nov 12 00:20:29 CET 2011
Hi folks,
i've just committed some new docs and changes to pytest to be
released as "2.2.0" soon. I welcome any feedback including
"makes sense", "nice but only if it would do XYZ ...", ...
You can install the dev version via
pip install -i http://pypi.testrun.org -U pytest
and should get at least 2.2.0.dev7 (see py.test --version). It should
be backward compatible almost completely except for pytest-xdist which you
can upgrade via "pip install -i http://pypi.testrun.org -U pytest-xdist"
There are two new features:
--durations=N profiling: see how long your tests and fixtures take
by looking at the "N" slowest tests.
and improved marking for structuring and instrumenting your test suite:
registering markers, a new "-m markexpr" option and "--markers" for
showing registered markers, and "--strict" for treating unregistered
markers as an error, see
http://pytest.org/2.2.0.dev7/mark.html#mark
for some more details.
best,
holger
More information about the Pytest-dev
mailing list