Search results for "module:Test2::API::Stack"
Test2::API::Stack - Object to manage a stack of Test2::Hub instances.
This module is used to represent and manage a stack of Test2::Hub objects. Hubs are usually in a stack so that you can push a new hub into place that can intercept and handle events differently than the primary hub....
EXODIST/Test-Simple-1.302198 - 30 Nov 2023 18:09:19 UTC
Test2::API - Primary interface for writing Test2 based testing tools.
This package exports all the functions necessary to write and/or verify testing tools. Using these building blocks you can begin writing test tools very quickly. You are also provided with tools that help you to test the tools you write....
EXODIST/Test-Simple-1.302198 - 30 Nov 2023 18:09:19 UTC
Test2::Hub - The conduit through which all events flow.
The hub is the place where all events get processed and handed off to the formatter. The hub also tracks test state, and provides several hooks into the event pipeline....
EXODIST/Test-Simple-1.302198 - 30 Nov 2023 18:09:19 UTC
Test2::Formatter - Namespace for formatters.
This is the namespace for formatters. This is an empty package....
EXODIST/Test-Simple-1.302198 - 30 Nov 2023 18:09:19 UTC
Test2::IPC::Driver - Base class for Test2 IPC drivers.
EXODIST/Test-Simple-1.302198
-
30 Nov 2023 18:09:19 UTC
Test2::API::Context - Object to represent a testing context.
The context object is the primary interface for authors of testing tools written with Test2. The context object represents the context in which a test takes place (File and Line Number), and provides a quick way to generate events from that context. ...
EXODIST/Test-Simple-1.302198 - 30 Nov 2023 18:09:19 UTC
Test2::AsyncSubtest - Object representing an async subtest.
Regular subtests have a limited scope, they start, events are generated, then they close and send an Test2::Event::Subtest event. This is a problem if you want the subtest to keep receiving events while other events are also being generated. This cla...
EXODIST/Test2-Suite-0.000159 - 25 Oct 2023 21:10:28 UTC
Test2::API::Instance - Object used by Test2::API under the hood
This object encapsulates the global shared state tracked by Test2. A single global instance of this package is stored (and obscured) by the Test2::API package. There is no reason to directly use this package. This package is documented for completene...
EXODIST/Test-Simple-1.302198 - 30 Nov 2023 18:09:19 UTC
Test2::Manual::Anatomy - The hub for documentation of the inner workings of Test2 components.
This section covers internals of the Test2 architecture. This is useful information for toolbuilder, but is essential information for maintainers of Test2 itself....
EXODIST/Test2-Suite-0.000159 - 25 Oct 2023 21:10:28 UTC
Test2::Manual::Testing::Todo - Tutorial for marking tests as TODO.
This tutorial covers the process of marking tests as TODO. It also describes how TODO works under the hood....
EXODIST/Test2-Suite-0.000159 - 25 Oct 2023 21:10:28 UTC
Test2::Manual::Tooling::Nesting - Tutorial for using other tools within your own.
Sometimes you find yourself writing the same test pattern over and over, in such cases you may want to encapsulate the logic in a new test function that calls several tools together. This sounds easy enough, but can cause headaches if not done correc...
EXODIST/Test2-Suite-0.000159 - 25 Oct 2023 21:10:28 UTC
Test2::Manual::Anatomy::EndToEnd - Overview of Test2 from load to finish.
This is a high level overview of everything from loading Test2 through the end of a test script....
EXODIST/Test2-Suite-0.000159 - 25 Oct 2023 21:10:28 UTC
Test2::Manual::Anatomy::Context - Internals documentation for the Context objects.
This document explains how the Test2::API::Context object works....
EXODIST/Test2-Suite-0.000159 - 25 Oct 2023 21:10:28 UTC
Test2::Manual::Tooling::TestBuilder - This section maps Test::Builder methods to Test2 concepts.
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.000159 - 25 Oct 2023 21:10:28 UTC
Test2::Manual::Anatomy::Hubs - Internals documentation for the hub stack, and hubs.
This document describes the hub stack, and the hubs it contains. It explains why we have a stack, and when to add/remove hubs from it....
EXODIST/Test2-Suite-0.000159 - 25 Oct 2023 21:10:28 UTC
Test2::Manual::Tooling::Plugin::TestingDone - Run code when the test file is finished, or when done_testing is called.
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.000159 - 25 Oct 2023 21:10:28 UTC