summaryrefslogtreecommitdiff
path: root/README.txt
diff options
context:
space:
mode:
authorJason Pellerin <jpellerin@gmail.com>2007-10-13 21:45:45 +0000
committerJason Pellerin <jpellerin@gmail.com>2007-10-13 21:45:45 +0000
commit75c9c574e20b4ebe53c6a33753295ad65557d9bf (patch)
treef8bfb09eccdba87d5741fd83b0a37393b41ecdde /README.txt
parent65b2975d6c4e6af7a64725987a5838d3e71245e5 (diff)
downloadnose-75c9c574e20b4ebe53c6a33753295ad65557d9bf.tar.gz
Merged 0.10.0-stable [308]:[378] into trunk
Diffstat (limited to 'README.txt')
-rw-r--r--README.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/README.txt b/README.txt
index b4031a3..37fd52d 100644
--- a/README.txt
+++ b/README.txt
@@ -275,6 +275,11 @@ function test case wrapper for each tuple it yields. As in the example, test
generators must yield tuples, the first element of which must be a callable
and the remaining elements the arguments to be passed to the callable.
+By default, the test name output for a generated test in verbose mode
+will be the name of the generator function or method, followed by the
+args passed to the yielded callable. If you want to show a different test
+name, set the ``description`` attribute of the yielded callable.
+
Setup and teardown functions may be used with test generators. The setup and
teardown attributes must be attached to the generator function::
@@ -319,7 +324,7 @@ nose, by default, follows a few simple rules for test discovery.
loaded as package.module and the directory of *package* will be added to
sys.path.
-* If a object defines a __test__ attribute that does not evaluate to
+* If an object defines a __test__ attribute that does not evaluate to
True, that object will not be collected, nor will any objects it
contains.