Test2::Bundle::Simple - ALMOST a drop-in replacement for Test::Simple. River stage four • 492 direct dependents • 5291 total dependents

This bundle is intended to be a (mostly) drop-in replacement for Test::Simple. See "KEY DIFFERENCES FROM Test::Simple" for details....

EXODIST/Test2-Suite-0.000140 - 12 May 2021 15:10:21 UTC

Test2::Suite - Distribution with a rich set of tools built upon the Test2 framework. River stage four • 492 direct dependents • 5291 total dependents

Rich set of tools, plugins, bundles, etc built upon the Test2 testing library. If you are interested in writing tests, this is the distribution for you. WHAT ARE TOOLS, PLUGINS, AND BUNDLES? TOOLS Tools are packages that export functions for use in t...

EXODIST/Test2-Suite-0.000140 - 12 May 2021 15:10:21 UTC

Test2::Mock - Module for managing mocked classes and instances. River stage four • 492 direct dependents • 5291 total dependents

This module lets you add and override methods for any package temporarily. When the instance is destroyed it will restore the package to its original state....

EXODIST/Test2-Suite-0.000140 - 12 May 2021 15:10:21 UTC

Test2::Plugin - Documentation for plugins River stage four • 492 direct dependents • 5291 total dependents

Plugins are packages that cause behavior changes, or other side effects for the test file that loads them. They should not export any functions, or provide any tools. Plugins should be distinct units of functionality. If you wish to combine behavior ...

EXODIST/Test2-Suite-0.000140 - 12 May 2021 15:10:21 UTC

Test2::Bundle - Documentation for bundles. River stage four • 492 direct dependents • 5291 total dependents

Bundles are collections of Tools and Plugins. Bundles should not provide any tools or behaviors of their own, they should simply combine the tools and behaviors of other packages....

EXODIST/Test2-Suite-0.000140 - 12 May 2021 15:10:21 UTC

Test2::Workflow - A test workflow is a way of structuring tests using composable units. River stage four • 492 direct dependents • 5291 total dependents

A test workflow is a way of structuring tests using composable units. A well known example of a test workflow is RSPEC <http://rspec.info/>. RSPEC is implemented using Test2::Workflow in Test2::Tools::Spec along with several extensions....

EXODIST/Test2-Suite-0.000140 - 12 May 2021 15:10:21 UTC

Test2::Util::Stash - Utilities for manipulating stashes and globs. River stage four • 492 direct dependents • 5291 total dependents

This is a collection of utilities for manipulating and inspecting package stashes and globs....

EXODIST/Test2-Suite-0.000140 - 12 May 2021 15:10:21 UTC

Test2::Tools::Basic - Test2 implementation of the basic testing tools. River stage four • 492 direct dependents • 5291 total dependents

This is a Test2 based implementation of the more basic tools originally provided by Test::More. Not all Test::More tools are provided by this package, only the basic/simple ones. Some tools have been modified for better diagnostics capabilities....

EXODIST/Test2-Suite-0.000140 - 12 May 2021 15:10:21 UTC

Test2::AsyncSubtest - Object representing an async subtest. River stage four • 492 direct dependents • 5291 total dependents

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.000140 - 12 May 2021 15:10:21 UTC

Test2::Require::Fork - Skip a test file unless the system supports forking River stage four • 492 direct dependents • 5291 total dependents

It is fairly common to write tests that need to fork. Not all systems support forking. This library does the hard work of checking if forking is supported on the current system. If forking is not supported then this will skip all tests and exit true....

EXODIST/Test2-Suite-0.000140 - 12 May 2021 15:10:21 UTC

Test2::Tools::Compare - Tools for comparing deep data structures. River stage four • 492 direct dependents • 5291 total dependents

Test::More had "is_deeply()". This library is the Test2 version that can be used to compare data structures, but goes a step further in that it provides tools for building a data structure specification against which you can verify your data. There a...

EXODIST/Test2-Suite-0.000140 - 12 May 2021 15:10:21 UTC

Test2::Manual::Tooling - Manual page for tool authors. River stage four • 492 direct dependents • 5291 total dependents

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

EXODIST/Test2-Suite-0.000140 - 12 May 2021 15:10:21 UTC

Test2::Manual::Testing - Hub for documentation about writing tests with Test2. River stage four • 492 direct dependents • 5291 total dependents

This document outlines all the tutorials and POD that cover writing tests. This section does not cover any Test2 internals, nor does it cover how to write new tools, for that see Test2::Manual::Tooling....

EXODIST/Test2-Suite-0.000140 - 12 May 2021 15:10:21 UTC

Test2::Require::Threads - Skip a test file unless the system supports threading River stage four • 492 direct dependents • 5291 total dependents

It is fairly common to write tests that need to use threads. Not all systems support threads. This library does the hard work of checking if threading is supported on the current system. If threading is not supported then this will skip all tests and...

EXODIST/Test2-Suite-0.000140 - 12 May 2021 15:10:21 UTC

Test2::Manual::Tooling::Testing - Tutorial on how to test your testing tools. River stage four • 492 direct dependents • 5291 total dependents

Testing your test tools used to be a complex and difficult prospect. The old tools such as Test::Tester and Test::Builder::Tester were limited, and fragile. Test2 on the other hand was designed from the very start to be easily tested! This tutorial s...

EXODIST/Test2-Suite-0.000140 - 12 May 2021 15:10:21 UTC

Test2::Manual::Tooling::Nesting - Tutorial for using other tools within your own. River stage four • 492 direct dependents • 5291 total dependents

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.000140 - 12 May 2021 15:10:21 UTC

Test2::Manual::Tooling::Subtest - How to implement a tool that makes use of subtests. River stage four • 492 direct dependents • 5291 total dependents

Subtests are a nice way of making related events visually, and architecturally distinct....

EXODIST/Test2-Suite-0.000140 - 12 May 2021 15:10:21 UTC

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

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

EXODIST/Test2-Suite-0.000140 - 12 May 2021 15:10:21 UTC

Test2::Manual::Testing::Migrating - How to migrate existing tests from Test::More to Test2. River stage four • 492 direct dependents • 5291 total dependents

This tutorial covers the conversion of an existing test. This tutorial assumes you have a test written using Test::More....

EXODIST/Test2-Suite-0.000140 - 12 May 2021 15:10:21 UTC

Test2::Manual::Testing::Introduction - Introduction to testing with Test2. River stage four • 492 direct dependents • 5291 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.000140 - 12 May 2021 15:10:21 UTC
20 results (0.039 seconds)