PageRenderTime 81ms CodeModel.GetById 30ms app.highlight 1ms RepoModel.GetById 19ms app.codeStats 15ms

/NEWS_0.9

https://bitbucket.org/jpellerin/nose/
text | 59 lines | 43 code | 16 blank | 0 comment | 0 complexity | c9e90c3459d8b745cdb92d57cdad20f6 MD5 | raw file
 1New in version 0.9
 2------------------
 3
 40.9 Final is here!
 5==================
 6
 7nose 0.9 includes a host of new features, as well as numerous
 8backwards-incompatible changes to interfaces and implementation. 
 9
10Thanks to the many folks who have contributed patches and ideas and made bug
11reports for the development version of 0.9, especially Mika Eloranta, Jay
12Parlar, Kevin Dangoor, Scot Doyle, Titus Brown and Philip J.Eby.
13
14Here's a quick rundown of what's new in 0.9
15
16- Plugins
17  
18  The most important new feature is support for plugins using setuptools
19  entrypoints. nose plugins can select and load tests (like the builtin
20  doctest plugin), reject tests (like the builtin attrib plugin, contributed
21  by Mika Eloranta, that allows users to select tests by attribute),
22  watch and report on tests (like the builtin coverage and profiler plugins),
23  completely replace test result output (like the html result plugin in the
24  examples directory) or any combination of the above. Writing plugins is
25  simple: subclass nose.plugins.Plugin and implement any of the methods in
26  nose.plugins.IPluginInterface.
27
28- Better compatibility with unittest
29
30  Test loading has been consolidated into a test loader class that is drop-in
31  compatible with unittest.TestLoader. Likewise test result output, including
32  output capture, assert introspection, and support for skipped and deprecated
33  tests, in nose.result.TextTestResult. If you want those features and not the
34  rest of nose, you can use just those classes. nose.main() has also been
35  rewritten to have the same signature as unittest.main().
36
37- Better command line interface
38
39  Command line test selection is more intuitive and powerful, enabling easy
40  and correct running of single tests while ensuring that fixtures (setup and
41  teardown) are correctly executed at all levels. No more -f -m or -o options:
42  now simply specify the tests to run::
43
44    nosetests this/file.py that.module
45
46  Tests may be specified down to the callable::
47
48    nosetests this/file.py:TestClass that.module:this_test
49    nosetests that.module:TestClass.test_method
50
51  There are also new options for dropping into pdb on errors or failures, and
52  stopping the test run on the first error or failure (thanks to Kevin Dangoor
53  for the idea).
54    
55- More!
56
57  Helpful test decorators and functions in nose.tools. Support for generators
58  in test classes. Better import path handling -- that you can shut off!
59  Detailed verbose logging using the logging package. And more...