[py-svn] r11902 - py/dist/py/documentation

hpk at codespeak.net hpk at codespeak.net
Tue May 3 22:29:57 CEST 2005


Author: hpk
Date: Tue May  3 22:29:56 2005
New Revision: 11902

Modified:
   py/dist/py/documentation/test.txt
Log:
shift select documentation towards 
the collections features



Modified: py/dist/py/documentation/test.txt
==============================================================================
--- py/dist/py/documentation/test.txt	(original)
+++ py/dist/py/documentation/test.txt	Tue May  3 22:29:56 2005
@@ -112,6 +112,23 @@
 to get run, notably ``check(42)``, ``check(17)`` and ``check(49)``
 of which the middle one will obviously fail. 
 
+selecting tests by keyword 
+--------------------------
+
+You can selectively run tests by specifiying a keyword 
+on the command line. Example:: 
+
+    py.test -k test_simple 
+
+will run all tests that are found from the current directory 
+and where the word "test_simple" equals the start of one part of the 
+path  leading up to the test item.  Directory and file basenames as well 
+as function, class and function/method names each form a possibly
+matching name. 
+
+    Note that the exact semantics are still experimental but 
+    should always remain intuitive.   
+
 testing with multiple python versions / executables 
 ---------------------------------------------------
 
@@ -130,21 +147,6 @@
 
 .. _`selection by keyword`: 
 
-selecting tests by keyword 
---------------------------
-
-You can selectively run tests by specifiying a keyword 
-on the command line. Example:: 
-
-    py.test -k test_simple 
-
-will run all tests that are found from the current directory 
-and where the word "test_simple" equals the start of one part of the 
-path  leading up to the test item.  Directory and file basenames as well 
-as function, class and function/method names each form a possibly
-matching name. (Note that the exact semantics are still 
-experimental but should always remain intuitive). 
-
 no interference with cmdline utilities 
 --------------------------------------
 



More information about the pytest-commit mailing list