| 1 |
py.test 2.1.1: assertion fixes and improved junitxml output |
| 2 |
=========================================================================== |
| 3 |
|
| 4 |
pytest-2.1.1 is a backward compatible maintenance release of the |
| 5 |
popular py.test testing tool. See extensive docs with examples here: |
| 6 |
|
| 7 |
http://pytest.org/ |
| 8 |
|
| 9 |
Most bug fixes address remaining issues with the perfected assertions |
| 10 |
introduced with 2.1.0 - many thanks to the bug reporters and to Benjamin |
| 11 |
Peterson for helping to fix them. Also, junitxml output now produces |
| 12 |
system-out/err tags which lead to better displays of tracebacks with Jenkins. |
| 13 |
|
| 14 |
Also a quick note to package maintainers and others interested: there now |
| 15 |
is a "pytest" man page which can be generated with "make man" in doc/. |
| 16 |
|
| 17 |
If you want to install or upgrade pytest, just type one of:: |
| 18 |
|
| 19 |
pip install -U pytest # or |
| 20 |
easy_install -U pytest |
| 21 |
|
| 22 |
best, |
| 23 |
holger krekel / https://merlinux.eu/ |
| 24 |
|
| 25 |
Changes between 2.1.0 and 2.1.1 |
| 26 |
---------------------------------------------- |
| 27 |
|
| 28 |
- fix issue64 / pytest.set_trace now works within pytest_generate_tests hooks |
| 29 |
- fix issue60 / fix error conditions involving the creation of __pycache__ |
| 30 |
- fix issue63 / assertion rewriting on inserts involving strings containing '%' |
| 31 |
- fix assertion rewriting on calls with a ** arg |
| 32 |
- don't cache rewritten modules if bytecode generation is disabled |
| 33 |
- fix assertion rewriting in read-only directories |
| 34 |
- fix issue59: provide system-out/err tags for junitxml output |
| 35 |
- fix issue61: assertion rewriting on boolean operations with 3 or more operands |
| 36 |
- you can now build a man page with "cd doc ; make man" |