This plugin captures stdout during test execution. If the test fails or raises an error, the captured output will be appended to the error or failure output. It is enabled by default but can be disabled with the options -s or --nocapture.
Options: |
|
---|
Don’t capture stdout (any stdout output will be printed immediately) [NOSE_NOCAPTURE]
Bases: nose.plugins.base.Plugin
Output capture plugin. Enabled by default. Disable with -s or --nocapture. This plugin captures stdout during test execution, appending any output captured to the error or failure output, should the test fail or raise an error.
Clear capture buffer.
Flush capture buffer.
Replace sys.stdout with capture buffer.
Captured stdout output.
Configure plugin. Plugin is enabled by default.
Restore stdout.
Add captured output to error report.
Add captured output to failure report.
Register commandline options