Scroll to navigation

Test2::Formatter::YAMLEnhancedTAP(3) User Contributed Perl Documentation Test2::Formatter::YAMLEnhancedTAP(3)

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

- TAP::Formatter::GitHubActions: GitHub Actions annotations for your test
runs!

- TAP Version 13 Spec <https://testanything.org/tap-version-13-specification.html>: For more information about the output syntax.

- Node-TAP <https://node-tap.org/tap-format/>: For source of inspiration

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.

2023-12-08 perl v5.38.2