The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Test2::Formatter::YAMLEnhancedTAP - YAML-enhanced TAP output for your tests

SYNOPSIS

It renders extra pieces of context as YAML output on failed assertions.

On the command line, with prove:

  $ T2_FORMATTER=YAMLEnhancedTAP prove ...

It's unbeknownst to me how to avoid the T2_FORMATTER=YAMLEnhancedTAP env...

IMPORTANT NOTE

YAML is allowed on TAP version 13 onwards, make sure your parser accepts it.

DESCRIPTION

Test2::Formatter::YAMLEnhancedTAP provides context on failed assertions as YAML snippets following TAP version 13 grammar.

The sole purpose of this module is to be used with TAP::Formatter::GitHubActions to bring more accurate annotations.

SEE ALSO

AUTHOR

Jose, D. Gomez R. <1josegomezr [AT] gmail.com>

COPYRIGHT AND LICENSE

Copyright (C) 2023 by Jose D. Gomez R.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.38.0 or, at your option, any later version of Perl 5 you may have available.