1 new commit in pytest:

https://bitbucket.org/hpk42/pytest/commits/b2058c24af7a/
Changeset:   b2058c24af7a
User:        hpk42
Date:        2013-09-30 21:39:32
Summary:     fix usage docs for "-k" (addresses issue357)
Affected #:  1 file

diff -r cbeecb03918ab64f80f31af81c65a78799efe443 -r 
b2058c24af7a3cc8d64d037abc7622cac4c5d446 doc/en/usage.txt
--- a/doc/en/usage.txt
+++ b/doc/en/usage.txt
@@ -44,8 +44,11 @@
 Several test run options::
 
     py.test test_mod.py   # run tests in module
-    py.test somepath      # run all tests below path
-    py.test -k string     # only run tests whose names contain a string
+    py.test somepath      # run all tests below somepath
+    py.test -k stringexpr # only run tests with names that match the
+                          # the "string expression", e.g. "MyClass and not 
method" 
+                          # will select TestMyClass.test_something
+                          # but not TestMyClass.test_method_simple
 
 Import 'pkg' and use its filesystem location to find and run tests::

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.
_______________________________________________
pytest-commit mailing list
pytest-commit@python.org
https://mail.python.org/mailman/listinfo/pytest-commit

Reply via email to