1 new commit in pytest:

https://bitbucket.org/hpk42/pytest/changeset/9f8512dc3ee8/
changeset:   9f8512dc3ee8
user:        hpk42
date:        2011-11-12 16:10:12
summary:     fix issue50 (add a reference to the already implemented -m) and 
improve release annoucnement and changelog.
affected #:  2 files

diff -r e97f2a87fefa4a7280a3a7164b99b2a4d1c6e840 -r 
9f8512dc3ee8f76491d39f3283642e4833c6e99c CHANGELOG
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -7,10 +7,10 @@
   allowing to avoid typos and maintain a well described set of markers
   for your test suite.  See exaples at http://pytest.org/latest/mark.html
   and its links.
-- introduce "-m marker" option to select tests based on markers
-  (this is a stricter and more predictable version of '-k' in that
-  "-m" only matches complete markers and has more obvious rules
-  for and/or semantics.
+- issue50: introduce "-m marker" option to select tests based on markers
+  (this is a stricter and more predictable version of '-k' in that "-m"
+  only matches complete markers and has more obvious rules for and/or
+  semantics.
 - new feature to help optimizing the speed of your tests: 
   --durations=N option for displaying N slowest test calls 
   and setup/teardown methods.


diff -r e97f2a87fefa4a7280a3a7164b99b2a4d1c6e840 -r 
9f8512dc3ee8f76491d39f3283642e4833c6e99c doc/announce/release-2.2.0.txt
--- a/doc/announce/release-2.2.0.txt
+++ b/doc/announce/release-2.2.0.txt
@@ -1,11 +1,22 @@
-py.test 2.2.0: new test duration profiling and bug fixes
+py.test 2.2.0: improved test markers and duration profiling
 ===========================================================================
 
-pytest-2.2.0 is a quite backward compatible release of the popular
-py.test testing tool.  It introduces the new "--duration=N" option
-showing the N slowest test execution or setup/teardown calls.   The
-release also contains a few fixes and some cleanup of pytest's own test
-suite allowing it to run on a wider range of environments.
+pytest-2.2.0 is a quite (*) backward compatible release of the popular
+py.test testing tool.  It includes the following new features:
+
+* new "--duration=N" option showing the N slowest test execution 
+  or setup/teardown calls.
+
+* new "-m markexpr" option for selecting tests according to their mark
+
+* new ini-variable for registering test markers and a "--strict"
+  option that will error out if you are using unregistered markers
+
+Usages of the improved marking mechanism is illustrated by a couple
+of initial examples, see XXX
+
+Besides there is the usual set of bug fixes along with a cleanup of
+pytest's own test suite allowing it to run on a wider range of environments.
 
 For general information, see extensive docs with examples here:
 
@@ -16,19 +27,22 @@
     pip install -U pytest # or
     easy_install -U pytest
 
-incompatible change
-------------------------------------
+
+(*) incompatible changes:
 
 * You need a new version of the pytest-xdist plugin (1.7) for distributing 
   test runs.  
 
-* Also other plugins might need an upgrade if they implement
+* Other plugins might need an upgrade if they implement
   the ``pytest_runtest_logreport`` hook which now is called unconditionally
   for the setup/teardown fixture phases of a test. You can just choose to
   ignore them by inserting "if rep.when != 'call': return". Note that
   most code probably "just" works because the hook was already called
   for failing setup/teardown phases of a test.
 
+Thanks to Ronny Pfannschmidt, David Burns, Jeff Donner XXX for their
+help and feedback on various issues.
+
 best,
 holger krekel

Repository URL: https://bitbucket.org/hpk42/pytest/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
_______________________________________________
py-svn mailing list
py-svn@codespeak.net
http://codespeak.net/mailman/listinfo/py-svn

Reply via email to