[TIP] ANN: nose 0.10a1 released

jason pellerin jpellerin at gmail.com
Sat Jul 7 11:50:14 PDT 2007


I'm happy to announce the release 0.10a1 release of nose. This is an
alpha release -- feature-complete but certainly not bug free -- so use
it with caution in production environments or anyplace where
misbehaving tests would be more than an annoyance.

The development release of nose, 0.10a, marks a major change from the
0.9 series in philosophy and implementation.

Prior to this release, nose was entirely discovery-centric: it would
never run anything that it didn't discover as a test. The test loader
in 0.10 has been completely rewritten so that it still supports
discovery, but also allows directed test loading. In other words,
starting with 0.10, if you tell nose that something is a test, nose
will believe you.

0.10 also includes major changes to the plugin API introduced in 0.9.
For the most part these are additive and backwards-compatible. Plugins
now have many new hooks available at all phases of test loading,
running and description. Many features of nose 0.9 that could only be
implemented in the core of nose are now plugins: output capture,
assert introspection, support for skipped and deprecated tests and for
dropping into pdb on error or failures. All of the hooks those plugins
use are available for your plugins too, of course. See the plugin
interface reference
(http://somethingaboutorange.com/mrl/projects/nose/doc/plugin_interface.html)
 or guide to writing plugins
(http://somethingaboutorange.com/mrl/projects/nose/doc/writing_plugins.html)
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.

Happy testing,

JP



More information about the testing-in-python mailing list