Skip: mark tests as skipped

This plugin installs a SKIP error class for the SkipTest exception. When SkipTest is raised, the exception will be logged in the skipped attribute of the result, ‘S’ or ‘SKIP’ (verbose) will be output, and the exception will not be counted as an error or failure. This plugin is enabled by default but may be disabled with the --no-skip option.

Options

--no-skip

Disable special handling of SkipTest exceptions.

Plugin

class nose.plugins.skip.Skip

Bases: nose.plugins.errorclass.ErrorClassPlugin

Plugin that installs a SKIP error class for the SkipTest exception. When SkipTest is raised, the exception will be logged in the skipped attribute of the result, ‘S’ or ‘SKIP’ (verbose) will be output, and the exception will not be counted as an error or failure.

configure(options, conf)

Configure plugin. Skip plugin is enabled by default.

options(parser, env)

Add my options to command line.

Source

Table Of Contents

Previous topic

Prof: enable profiling using the hotshot profiler

Next topic

Testid: add a test id to each test name output

This Page