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


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

pytest-2.2.2: bug fixes, collectonly improvements

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!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.005
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'bug': 0.02; 'subject:bug': 0.03; 'args': 0.05; 'attributes': 0.05; 'fixes': 0.05; 'holger': 0.09; 'ids': 0.09; 'received:eu': 0.09; 'subject:fixes': 0.09; 'output': 0.10; '2.2.1': 0.16; '2.2.2': 0.16; 'chdir': 0.16; 'ralf': 0.16; 'module,': 0.23; 'fix': 0.25; 'parameters': 0.25; 'tests': 0.25; 'testing': 0.26; 'function': 0.27; 'second': 0.28; 'class': 0.29; 'robust': 0.30; 'tool.': 0.30; 'changes': 0.30; 'reporting': 0.31; 'actually': 0.31; 'minor': 0.32; 'thanks': 0.32; 'header:User-Agent:1': 0.33; 'test': 0.34; 'calling': 0.34; 'install': 0.35; 'to:addr:python-announce-list': 0.37; 'shows': 0.37; 'charset:us-ascii': 0.37; 'skip:" 10': 0.37; 'skip:- 40': 0.38; 'resulting': 0.38; 'some': 0.38; 'useful': 0.38; 'files': 0.39; 'e.g.': 0.39; 'url:org': 0.39; 'to:addr:python.org': 0.40; 'release': 0.40; 'more': 0.61; 'helping': 0.62; 'below': 0.62; 'special': 0.66; 'here:': 0.67; 'crash': 0.67; 'failure': 0.74; 'contributors': 0.84; 'easy_install': 0.84; 'received:85.25': 0.84
Date Sun, 5 Feb 2012 23:36:28 +0000
From holger krekel <holger@merlinux.eu>
To python announce <python-announce-list@python.org>, Testing in Python <testing-in-python@lists.idyll.org>, py-dev@codespeak.net
Subject pytest-2.2.2: bug fixes, collectonly improvements
Mail-Followup-To holger krekel <holger@merlinux.eu>, python announce <python-announce-list@python.org>, Testing in Python <testing-in-python@lists.idyll.org>, py-dev@codespeak.net
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 Tue, 07 Feb 2012 05:42:35 +0100
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.5488.1328589756.27778.python-announce-list@python.org> (permalink)
Lines 40
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1328589756 news.xs4all.nl 6951 [2001:888:2000:d::a6]:39131
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python.announce:500

Show key headers only | View raw


pytest-2.2.2 is a minor backward-compatible release of the py.test
testing tool.   It contains bug fixes and a few refinements particularly
to reporting with "--collectonly", see below for betails.  

For general information see here:

     http://pytest.org/

To install or upgrade pytest:

    pip install -U pytest # or
    easy_install -U pytest

Special thanks for helping on this release to Ronny Pfannschmidt
and Ralf Schmitt and the contributors of issues.

best,
holger krekel


Changes between 2.2.1 and 2.2.2
----------------------------------------

- fix issue101: wrong args to unittest.TestCase test function now
  produce better output
- fix issue102: report more useful errors and hints for when a 
  test directory was renamed and some pyc/__pycache__ remain
- fix issue106: allow parametrize to be applied multiple times
  e.g. from module, class and at function level.
- fix issue107: actually perform session scope finalization
- don't check in parametrize if indirect parameters are funcarg names
- add chdir method to monkeypatch funcarg
- fix crash resulting from calling monkeypatch undo a second time
- fix issue115: make --collectonly robust against early failure
  (missing files/directories)
- "-qq --collectonly" now shows only files and the number of tests in them
- "-q --collectonly" now shows test ids 
- allow adding of attributes to test reports such that it also works
  with distributed testing (no upgrade of pytest-xdist needed)

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


Thread

pytest-2.2.2: bug fixes, collectonly improvements holger krekel <holger@merlinux.eu> - 2012-02-05 23:36 +0000

csiph-web