<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">package Test2::Manual::Tooling;
use strict;
use warnings;

our $VERSION = '0.000162';

1;

__END__

=head1 NAME

Test2::Manual::Tooling - Manual page for tool authors.

=head1 DESCRIPTION

This section covers writing new tools, plugins, and other Test2 components.

=head1 TOOL TUTORIALS

=head2 FIRST TOOL

L&lt;Test2::Manual::Tooling::FirstTool&gt; - Introduction to writing tools by cloning
L&lt;ok()&gt;.

=head2 MOVING FROM Test::Builder

L&lt;Test2::Manual::Tooling::TestBuilder&gt; - This section maps Test::Builder
methods to Test2 concepts.

=head2 NESTING TOOLS

L&lt;Test2::Manual::Tooling::Nesting&gt; - How to call other tools from your tool.

=head2 TOOLS WITH SUBTESTS

L&lt;Test2::Manual::Tooling::Subtest&gt; - How write tools that make use of subtests.

=head2 TESTING YOUR TEST TOOLS

L&lt;Test2::Manual::Tooling::Testing&gt; - How to write tests for your test tools.

=head1 PLUGIN TUTORIALS

=head2 TAKING ACTION WHEN A NEW TOOL STARTS

L&lt;Test2::Manual::Tooling::Plugin::ToolStarts&gt; - How to add behaviors that occur
when a tool starts work.

=head2 TAKING ACTION AFTER A TOOL IS DONE

L&lt;Test2::Manual::Tooling::Plugin::ToolCompletes&gt; - How to add behaviors that
occur when a tool completes work.

=head2 TAKING ACTION AT THE END OF TESTING

L&lt;Test2::Manual::Tooling::Plugin::TestingDone&gt; - How to add behaviors that
occur when testing is complete (IE done_testing, or end of test).

=head2 TAKING ACTION JUST BEFORE EXIT

L&lt;Test2::Manual::Tooling::Plugin::TestExit&gt; - How to safely add pre-exit
behaviors.

=head1 WRITING A SIMPLE JSONL FORMATTER

L&lt;Test2::Manual::Tooling::Formatter&gt; - How to write a custom formatter, in our
case a JSONL formatter.

=head1 WHERE TO FIND HOOKS AND APIS

=over 4

=item global API

L&lt;Test2::API&gt; is the global API. This is primarily used by plugins that provide
global behavior.

=item In hubs

L&lt;Test2::Hub&gt; is the base class for all hubs. This is where hooks for
manipulating events, or running things at the end of testing live.

=back

=head1 SEE ALSO

L&lt;Test2::Manual&gt; - Primary index of the manual.

=head1 SOURCE

The source code repository for Test2-Manual can be found at
F&lt;https://github.com/Test-More/Test2-Suite/&gt;.

=head1 MAINTAINERS

=over 4

=item Chad Granum E&lt;lt&gt;exodist@cpan.orgE&lt;gt&gt;

=back

=head1 AUTHORS

=over 4

=item Chad Granum E&lt;lt&gt;exodist@cpan.orgE&lt;gt&gt;

=back

=head1 COPYRIGHT

Copyright 2018 Chad Granum E&lt;lt&gt;exodist@cpan.orgE&lt;gt&gt;.

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

See F&lt;http://dev.perl.org/licenses/&gt;

=cut
</pre></body></html>