You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ nosetests
<snip>
NameError: global name 'fail' is not defined
-------------------- >> begin captured stdout << ---------------------
bacon
--------------------- >> end captured stdout << ----------------------
<snip>
FAILED (errors=1)
However, if you have --with-freshen enabled the lines containing the captured standard out never appear, either for code run as part of a freshen test, or even just as part of standard nose tests.
This makes debugging the failing tests substantially harder, as it's much harder to see why they fail.
Disabling output capture with --nocapture does allow the output to appear, but removes the beneficial grouping of it by test case that would otherwise be had.
The text was updated successfully, but these errors were encountered:
If you have a simple nose test:
then when running this with nose, you get:
However, if you have
--with-freshen
enabled the lines containing the captured standard out never appear, either for code run as part of a freshen test, or even just as part of standard nose tests.This makes debugging the failing tests substantially harder, as it's much harder to see why they fail.
Disabling output capture with
--nocapture
does allow the output to appear, but removes the beneficial grouping of it by test case that would otherwise be had.The text was updated successfully, but these errors were encountered: