Closed szabgab closed 7 years ago
That output has nothing to do with todos, and everything with diagnostics. By default all output to stderr
is untouched by prove6, and this is the most sensible thing it can do. The real issue is in Test.pm6
, which should redirect diagnostics to stdout
instead of stderr
when inside of a subtest (this is what Test::Builder does on perl5).
Oh thanks. So if I understand correctly I need to send this request to rakudobug.
We have a test marked
todo
in Bailador.prove6
displays the failure as follows:I think this makes people, especially people new to perl* uneasy as the failure takes up a lot of the reporting and the final success is less obvious. I just checked and prove of Perl 5 does the same, but I wonder if it wouldn't be more user-friendly if the default was to hide the error from todo tests and only show them in verbose mode.
In addition IMHO the final report should also say "1 todo"
Our repo is https://github.com/Bailador/Bailador