Test2::Manual::Testing::Planning - The many ways to set a plan. River stage four • 299 direct dependents • 5258 total dependents

This tutorial covers the many ways of setting a plan....

EXODIST/Test2-Suite-0.000122 - 18 May 2019 15:23:18 GMT

Test2::Manual::Anatomy::EndToEnd - Overview of Test2 from load to finish. River stage four • 299 direct dependents • 5258 total dependents

This is a high level overview of everything from loading Test2 through the end of a test script....

EXODIST/Test2-Suite-0.000122 - 18 May 2019 15:23:18 GMT

Test2::Manual::Tooling::Formatter - How to write a custom formatter, in our case a JSONL formatter. River stage four • 299 direct dependents • 5258 total dependents

This tutorial explains a minimal formatter that outputs each event as a json string on its own line. A true formatter will probably be significantly more complicated, but this will give you the basics needed to get started....

EXODIST/Test2-Suite-0.000122 - 18 May 2019 15:23:18 GMT

Test2::Manual::Anatomy::Utilities - Overview of utilities for Test2. River stage four • 299 direct dependents • 5258 total dependents

This is a brief overview of the utilities provided by Test2....

EXODIST/Test2-Suite-0.000122 - 18 May 2019 15:23:18 GMT

Test2::Manual::Tooling::FirstTool - Write your first tool with Test2. River stage four • 299 direct dependents • 5258 total dependents

This tutorial will help you write your very first tool by cloning the "ok()" tool....

EXODIST/Test2-Suite-0.000122 - 18 May 2019 15:23:18 GMT

Test2::AsyncSubtest::Event::Attach - Event to attach a subtest to the parent. River stage four • 299 direct dependents • 5258 total dependents

Used internally by Test2::AsyncSubtest. No user serviceable parts inside....

EXODIST/Test2-Suite-0.000122 - 18 May 2019 15:23:18 GMT

Test2::AsyncSubtest::Event::Detach - Event to detach a subtest from the parent. River stage four • 299 direct dependents • 5258 total dependents

Used internally by Test2::AsyncSubtest. No user serviceable parts inside....

EXODIST/Test2-Suite-0.000122 - 18 May 2019 15:23:18 GMT

Test2::Manual::Tooling::TestBuilder - This section maps Test::Builder methods to Test2 concepts. River stage four • 299 direct dependents • 5258 total dependents

With Test::Builder tools were encouraged to use methods on the Test::Builder singleton object. Test2 has a different approach, every tool should get a new Test2::API::Context object, and call methods on that. This document maps several concepts from ...

EXODIST/Test2-Suite-0.000122 - 18 May 2019 15:23:18 GMT

Test2::Manual::Testing::Introduction - Introduction to testing with Test2. River stage four • 299 direct dependents • 5258 total dependents

This tutorial is a beginners introduction to testing. This will take you through writing a test file, making assertions, and running your test....

EXODIST/Test2-Suite-0.000122 - 18 May 2019 15:23:18 GMT

Test2::Manual::Tooling::Plugin::TestExit - How to safely add pre-exit behaviors. River stage four • 299 direct dependents • 5258 total dependents

This describes the correct/safe way to add pre-exit behaviors to tests via a custom plugin. The naive way to attempt this would be to add an "END { ... }" block. That can work, and may not cause problems.... On the other hand there are a lot of ways ...

EXODIST/Test2-Suite-0.000122 - 18 May 2019 15:23:18 GMT

Test2::Manual::Tooling::Plugin::ToolStarts - How to add behaviors that occur when a tool starts work. River stage four • 299 direct dependents • 5258 total dependents

This tutorial will help you write plugins that have behavior when a tool starts. All tools should start by acquiring a context object. This tutorial shows you the hooks you can use to take advantage of the context acquisition....

EXODIST/Test2-Suite-0.000122 - 18 May 2019 15:23:18 GMT

Test2::Manual::Tooling::Plugin::TestingDone - Run code when the test file is finished, or when done_testing is called. River stage four • 299 direct dependents • 5258 total dependents

This is a way to add behavior to the end of a test file. This code is run either when done_testing() is called, or when the test file has no more run-time code to run. When triggered by done_testing() this will be run BEFORE the plan is calculated an...

EXODIST/Test2-Suite-0.000122 - 18 May 2019 15:23:18 GMT

Test2::Manual::Tooling::Plugin::ToolCompletes - How to add behaviors that occur when a tool completes work. River stage four • 299 direct dependents • 5258 total dependents

This tutorial helps you understand how to add behaviors that occur when a tool is done with its work. All tools need to acquire and then release a context, for this tutorial we make use of the release hooks that are called every time a tool releases ...

EXODIST/Test2-Suite-0.000122 - 18 May 2019 15:23:18 GMT

113 results (0.041 seconds)