diff options
author | Jason Pellerin <jpellerin@gmail.com> | 2007-10-09 21:12:38 +0000 |
---|---|---|
committer | Jason Pellerin <jpellerin@gmail.com> | 2007-10-09 21:12:38 +0000 |
commit | 7e6d9624b5dfd3cefb858f5112799e98598dcacc (patch) | |
tree | 08c9cf5ca3e3998e41268751fe5ccf5ae7f4c6fe | |
parent | a74b95ac141416eff344e5ad10a714bc08c9385d (diff) | |
download | nose-7e6d9624b5dfd3cefb858f5112799e98598dcacc.tar.gz |
Updated changelog, readme and news
-rw-r--r-- | CHANGELOG | 6 | ||||
-rw-r--r-- | NEWS | 5 | ||||
-rw-r--r-- | README.txt | 7 |
3 files changed, 15 insertions, 3 deletions
@@ -20,7 +20,7 @@ Lee for many bug reports. - Fixed bugs in rpm generation (Issue #96). Thanks to Mike Verdone for the bug report and http://bugs.python.org/issue644744 for the fix. -- Fixed inconsisent use of os.environ in plug testing +- Fixed inconsisent use of os.environ in plugin testing utilities. Thanks to John J Lee for the bug report and patch (Issue #97). - Fixed bug in test_address that prevented use of nose.case.Test in @@ -29,10 +29,12 @@ masked (#Issue 101). Thanks to depaula for the bug report. - Fixed bugs in tests and the profiler plugin when running under Windows (Issue #103). Thanks to Sidnei Da Silva for the bug report. -- Fixed bugs in plugin class that caused exception swallowing (Issue +- Fixed bugs in plugin calls that caused exception swallowing (Issue #107). Thanks to John L Lee for the bug report and patch. - Added more plugin example doctests. Thanks to Kumar McMillan and John L Lee for patches and lots of help. +- Changed default location of id file for TestId plugin from ~/.noseids to + .noseids in the configured working directory. 0.10.0b1 @@ -27,5 +27,10 @@ plugins`_ for more. There are many other, less user-visible changes under the hood. See http://code.google.com/p/python-nose/wiki/VersionZeroTen for an outline. +This release would have been near-impossible to complete without the +help of John J Lee and new members of the nose development team Kumar +McMillan, Grig Gheorgiu, James Casbon, and Titus Brown. Many thanks to +all of them. + .. _`plugin interface reference`: doc/plugin_interface.html .. _`guide to writing plugins`: doc/writing_plugins.html @@ -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. |