Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python.announce > #758
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!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.002 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'python.': 0.02; 'syntax': 0.03; 'fixes': 0.05; 'arguments': 0.07; 'dynamically': 0.07; 'expressions': 0.07; 'see:': 0.07; 'skip:= 70': 0.10; 'anyway': 0.11; 'easy_install': 0.16; 'invocations': 0.16; 'krekel': 0.16; 'lifo': 0.16; 'pytest': 0.16; 'received:eu': 0.16; 'subject:selection': 0.16; 'url:example': 0.16; 'fix': 0.17; 'char': 0.17; 'tests': 0.18; 'define': 0.20; 'discovery': 0.22; 'holger': 0.22; 'defined': 0.22; 'example': 0.23; 'class.': 0.23; 'testing': 0.24; 'header:User-Agent:1': 0.26; 'skip:" 20': 0.26; 'integrating': 0.29; 'issues.': 0.29; 'reporting': 0.29; 'selection': 0.29; 'install': 0.29; 'related': 0.30; 'file': 0.32; 'certain': 0.33; 'scalable': 0.33; 'recommended': 0.33; 'thanks': 0.34; 'tool': 0.36; 'but': 0.36; 'url:org': 0.36; 'to:addr:codespeak.net': 0.36; 'method': 0.36; 'subject:with': 0.36; 'test': 0.36; 'charset:us-ascii': 0.36; 'best,': 0.37; 'option': 0.37; 'level': 0.37; 'rather': 0.37; 'subject:: ': 0.38; 'instead': 0.39; 'to:addr:python.org': 0.39; 'release': 0.39; 'where': 0.40; 'subject:-': 0.40; 'content-disposition:inline': 0.60; 'to:2**2': 0.62; 'thomas': 0.62; 'more': 0.63; 'received:85': 0.65; 'features:': 0.65; 'to:addr:python-announce- list': 0.65; 'special': 0.73; 'discovered': 0.83; 'setups': 0.84; 'yielded': 0.84; 'write:': 0.91 |
| Date | Tue, 20 Nov 2012 13:10:08 +0000 |
| From | holger krekel <holger@merlinux.eu> |
| To | py-dev@codespeak.net, Testing in Python <testing-in-python@lists.idyll.org>, python announce <python-announce-list@python.org> |
| Subject | pytest-2.3.4: bugfixes and extended selection with "-k expr" |
| Mail-Followup-To | holger krekel <holger@merlinux.eu>, py-dev@codespeak.net, Testing in Python <testing-in-python@lists.idyll.org>, python announce <python-announce-list@python.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 | Tue, 20 Nov 2012 17:59:45 +0100 |
| X-BeenThere | python-announce-list@python.org |
| X-Mailman-Version | 2.1.15 |
| 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.71.1353430786.29569.python-announce-list@python.org> (permalink) |
| Lines | 39 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1353430786 news.xs4all.nl 6886 [2001:888:2000:d::a6]:35491 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python.announce:758 |
Show key headers only | View raw
pytest-2.3.4: stabilization, more flexible selection via "-k expr"
===========================================================================
pytest-2.3.4 is a small stabilization release of the py.test tool
which offers uebersimple assertions, scalable fixture mechanisms
and deep customization for testing with Python. This release
comes with the following fixes and features:
- make "-k" option accept an expressions the same as with "-m" so that one
can write: -k "name1 or name2" etc. This is a slight usage incompatibility
if you used special syntax like "TestClass.test_method" which you now
need to write as -k "TestClass and test_method" to match a certain
method in a certain test class.
- allow to dynamically define markers via
item.keywords[...]=assignment integrating with "-m" option
- yielded test functions will now have autouse-fixtures active but
cannot accept fixtures as funcargs - it's anyway recommended to
rather use the post-2.0 parametrize features instead of yield, see:
http://pytest.org/latest/example/parametrize.html
- fix autouse-issue where autouse-fixtures would not be discovered
if defined in a a/conftest.py file and tests in a/tests/test_some.py
- fix issue226 - LIFO ordering for fixture teardowns
- fix issue224 - invocations with >256 char arguments now work
- fix issue91 - add/discuss package/directory level setups in example
- fixes related to autouse discovery and calling
Thanks in particular to Thomas Waldmann for spotting and reporting issues.
See
http://pytest.org/
for general information. To install or upgrade pytest:
pip install -U pytest # or
easy_install -U pytest
best,
holger krekel
Back to comp.lang.python.announce | Previous | Next | Find similar | Unroll thread
pytest-2.3.4: bugfixes and extended selection with "-k expr" holger krekel <holger@merlinux.eu> - 2012-11-20 13:10 +0000
csiph-web