DOKK / manpages / debian 12 / libtest2-harness-perl / Test2::Formatter::Test2.3pm.en
Test2::Formatter::Test2(3pm) User Contributed Perl Documentation Test2::Formatter::Test2(3pm)

Test2::Formatter::Test2 - An alternative to TAP, used by Test2::Harness.

This formatter is the primary formatter used for final result rendering when you use Test2::Harness. This formatter is NOT designed to have its output consumed by code/machine/harnesses. The goal of this formatter is to have output that is easily read by humans.

If you are running a test directly with perl and want to use this formatter:

    $ perl -MTest2::Formatter::Test2 path/to/test.t

You could also use the module directly in your test, but that is not recommended as your test would then be unable to be run via prove or other harnesses.

The source code repository for Test2-Harness can be found at http://github.com/Test-More/Test2-Harness/.

Copyright 2020 Chad Granum <exodist7@gmail.com>.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/

2023-03-12 perl v5.36.0