Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

Problem

Nose take all output\errors and print in one defined stream. You can't split printing if you need to split success messages to stdout and failure\errors to stderr.

Solution

Implement custom TextTestRunner and TextTestResult to not give nosetest intercepts real stream. Just need to replace it with fake one for example StringIO.

Similar

to capture stderr https://github.com/thkoch2001/nose/commit/c3d3dbf796eeed933b130644b259004ceae04f80 anyway, it writes all to one stream due to nature of nosetests

About

How to split nosetest test results with success to stdout and failure\error to stderr? Need to have custom TextTestRunner

Resources

Releases

No releases published

Packages

No packages published