Various notes for those who are curious. Please remember that the parser is still alpha software! I have no plans to label it beta until such time that I know all core features are added. With luck, they'll be working, too.
Feedback appreciated.
I've done this in my local repository and have deprecated the original method names. They will now issue a warning but will not be removed until 1.00. For example:
if ( $test->passed ) { ... }Has become:
if ( $test->is_ok ) { ... }We still have two boolean methods which don't begin with 'is_'. $test->has_todo and $test->has_skip. I don't feel entirely comfortable with this.
This should now be relatively straightforward. You'll still have plenty of control over the output merely by passing in callbacks to override default behavior.
Much work has already been done in this regard.
I plan to add support for reading a .tproverc.
Aside from duplicating the current behavior, I also plan to some new switches:
By default, if Term::ANSIColor is installed, will show failing tests in red. Controllable via .tproverc.
This might seem odd, but more than once I've found it useful if I want to run, for example, my 'customer' tests.
Currently, I'm pretty sure I'll get test failures on both. I initially tried to cargo-cult in the code from Test::Harness, but since I couldn't reliably test it, I stopped.
Cheers,
Ovid
New address of my CGI Course.
In reply to TAPx::Parser plans by Ovid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |