Dallaylaen has asked for the wisdom of the Perl Monks concerning the following question:
Hello dear esteemed monks,
Say I have a module (Assert::Refute to be precise) that checks several conditions and creates a report that specifies which of the conditions failed and why. Quite naturally I use TAP (Test Anything Protocol) to represent such reports.
Now I'd like to be able to emit warnings/exceptions/log messages based on failing reports. TAP is cool but it looks ugly in the log (although I could possibly output it line by line). JUnit's XML also looks heavier than needed...
Is there a terse, one-line format I could use for such reporting? I'd like to be able to keep the reason/explanation bits (diags) and test names.
Thank you.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: A terse, one-line alternative to TAP / JUnit?
by haukex (Archbishop) on Sep 01, 2018 at 06:34 UTC | |
by Dallaylaen (Chaplain) on Sep 01, 2018 at 16:14 UTC | |
by haukex (Archbishop) on Sep 01, 2018 at 16:40 UTC | |
by Dallaylaen (Chaplain) on Sep 01, 2018 at 20:30 UTC | |
by Dallaylaen (Chaplain) on Sep 01, 2018 at 19:02 UTC |