Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python.announce > #302

pytest-2.1.1: assertion fixes and improved junitxml output

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeder.news-service.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <holger@merlinux.eu>
X-Original-To python-announce-list@python.org
Delivered-To python-announce-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'bug': 0.02; 'fixes': 0.05; 'inserts': 0.07; 'read-only': 0.07; 'holger': 0.09; 'hooks': 0.09; 'peterson': 0.09; 'received:eu': 0.09; 'rewritten': 0.09; 'output': 0.10; 'examples': 0.11; '2.1.1': 0.16; '__pycache__': 0.16; 'arg': 0.16; 'assertion': 0.16; 'benjamin': 0.16; 'boolean': 0.16; 'bytecode': 0.16; 'maintainers': 0.16; 'operands': 0.16; 'subject:fixes': 0.16; 'tracebacks': 0.16; 'compatible': 0.21; 'produces': 0.23; 'testing': 0.24; 'cache': 0.24; 'fix': 0.29; 'operations': 0.30; '"make': 0.30; 'disabled': 0.30; 'tool.': 0.30; 'thanks': 0.30; 'modules': 0.31; 'changes': 0.31; 'error': 0.32; 'remaining': 0.32; 'url:eu': 0.32; 'there': 0.33; 'header :User-Agent:1': 0.34; 'doc': 0.34; 'skip:- 40': 0.35; 'charset:us- ascii': 0.36; 'involving': 0.37; 'to:addr:python-announce-list': 0.37; 'page': 0.37; 'install': 0.37; 'url:org': 0.38; 'subject:: ': 0.39; 'introduced': 0.39; 'to:addr:python.org': 0.39; 'more': 0.60; 'address': 0.61; 'man': 0.65; 'here:': 0.65; 'easy_install': 0.84; 'received:85.25': 0.84
Date Sat, 20 Aug 2011 18:00:06 +0000
From holger krekel <holger@merlinux.eu>
To py-dev@codespeak.net, python announce <python-announce-list@python.org>, Testing in Python <testing-in-python@lists.idyll.org>
Subject pytest-2.1.1: assertion fixes and improved junitxml output
Mail-Followup-To holger krekel <holger@merlinux.eu>, py-dev@codespeak.net, python announce <python-announce-list@python.org>, Testing in Python <testing-in-python@lists.idyll.org>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.5.20 (2009-06-14)
X-Mailman-Approved-At Sun, 21 Aug 2011 17:09:30 +0200
X-BeenThere python-announce-list@python.org
X-Mailman-Version 2.1.12
Precedence list
Reply-To python-list@python.org
List-Id Announcement-only list for the Python programming language <python-announce-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-announce-list>
List-Post <mailto:python-announce-list@python.org>
List-Help <mailto:python-announce-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=subscribe>
Approved python-announce-list@python.org
Newsgroups comp.lang.python.announce
Message-ID <mailman.280.1313939371.27778.python-announce-list@python.org> (permalink)
Lines 35
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1313939371 news.xs4all.nl 23980 [2001:888:2000:d::a6]:49121
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python.announce:302

Show key headers only | View raw


pytest-2.1.1 is a backward compatible maintenance release of the
popular py.test testing tool.  See extensive docs with examples here:

     http://pytest.org/

Most bug fixes address remaining issues with the perfected assertions
introduced with 2.1.0 - many thanks to the bug reporters and to Benjamin
Peterson for helping to fix them.  Also, junitxml output now produces
system-out/err tags which lead to better displays of tracebacks with Jenkins.

Also a quick note to package maintainers and others interested: there now
is a "pytest" man page which can be generated with "make man" in doc/.

If you want to install or upgrade pytest, just type one of::

    pip install -U pytest # or
    easy_install -U pytest

best,
holger krekel / http://merlinux.eu

Changes between 2.1.0 and 2.1.1
----------------------------------------------

- fix issue64 / pytest.set_trace now works within pytest_generate_tests hooks
- fix issue60 / fix error conditions involving the creation of __pycache__
- fix issue63 / assertion rewriting on inserts involving strings containing '%'
- fix assertion rewriting on calls with a ** arg
- don't cache rewritten modules if bytecode generation is disabled
- fix assertion rewriting in read-only directories
- fix issue59: provide system-out/err tags for junitxml output
- fix issue61: assertion rewriting on boolean operations with 3 or more operands
- you can now build a man page with "cd doc ; make man"

Back to comp.lang.python.announce | Previous | Next | Find similar | Unroll thread


Thread

pytest-2.1.1: assertion fixes and improved junitxml output holger krekel <holger@merlinux.eu> - 2011-08-20 18:00 +0000

csiph-web