-
-
01 Dec 2021 19:25:21 UTC
- Browse (raw)
- Changes
- How to Contribute
- Repository
- Issues (54)
- Testers (435 / 4 / 0)
- Kwalitee
Bus factor: 7- 88.49% Coverage
- License: perl_5
- Perl: v5.8.1
- Activity
24 month- Tools
- Download (224.36KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
Changes for version 0.000143 - 2021-12-01
- Add stringification option for custom compare checks
Modules
Object representing an async subtest.Event to attach a subtest to the parent.Event to detach a subtest from the parent.Hub used by async subtests.Documentation for bundles.Old name for Test2::V0ALMOST a drop-in replacement for Test::More.ALMOST a drop-in replacement for Test::Simple.Test2 extension for writing deep comparison tools.Internal representation of an array comparison.Internal representation of a bag comparison.Base class for comparison classes.Compare two values as booleansCustom field check for comparisons.Ref comparisonRepresentation of differences between nested data structures.Event specific Object subclass.Meta class for events in deep comparisonsCompare two values as numbers with tolerance.Representation of a hash in a deep comparison.Check if the value is an instance of the class.Check library for meta-checksPoor mans 'role' for compare objects that can be negated.Compare two values as numbersRepresentation of an object during deep comparison.Internal representation of an ordered subset.Use a pattern to validate values in a deep comparison.Ref comparisonRegex direct comparisonRepresentation of a Scalar Ref in deep comparisonsAllows a field to be matched against a set of checks.Compare two values as stringsCheck that something is undefinedPlaceholder check.Documentation hub for Test2 and Test2-Suite.The hub for documentation of the inner workings of Test2 components.Internals documentation for the API.Internals documentation for the Context objects.Overview of Test2 from load to finish.The internals of eventsInternals documentation for the hub stack, and hubs.Manual for the IPC system.Overview of utilities for Test2.Documentation for Concurrency support.How to contribute to the Test2 project.Hub for documentation about writing tests with Test2.Introduction to testing with Test2.How to migrate existing tests from Test::More to Test2.The many ways to set a plan.Tutorial for marking tests as TODO.Manual page for tool authors.Write your first tool with Test2.How to write a custom formatter, in our case a JSONL formatter.Tutorial for using other tools within your own.How to safely add pre-exit behaviors.Run code when the test file is finished, or when done_testing is called.How to add behaviors that occur when a tool completes work.How to add behaviors that occur when a tool starts work.How to implement a tool that makes use of subtests.This section maps Test::Builder methods to Test2 concepts.Tutorial on how to test your testing tools.Module for managing mocked classes and instances.Documentation for pluginsAutomatically bail out of testing on the first test failure.Automatically die on the first test failure.Add extra diagnostics on failure at the end of the test.Control the random seed for more controlled test environments.Output timing data at the end of the test.Test2 plugin to test with utf8.Base class and documentation for skip-unless type test packages.Only run a test when the AUTHOR_TESTING environment variable is set.Only run a test when a specific environment variable is set.Skip a test file unless the system supports forkingSkip tests if certain packages are not installed, or insufficient versions.Skip the test unless the necessary version of Perl is installed.Skip a test file unless the system supports true forkingSkip a test file unless the system supports threadingDistribution with a rich set of tools built upon the Test2 framework.TODO extension for Test2.Documentation for Tools.Tools for writing async subtests.Test2 implementation of the basic testing tools.Test2 implementation of the tools for testing classes.Classic (Test::More style) comparison tools.Tools for comparing deep data structures.Write tests that get executed at a later timeTools for managing the encoding of Test2 based tests.Tools for generating test events.Test2 based tools for checking exceptionsTools for validating exporters.Tool for generating a populated temp directory.Temporarily intercept all events without adding a scope level.Class/Instance mocking for Test2.Tools for validating references.RSPEC implementation on top of Test2::WorkflowTools for writing subtestsAlias the testing target package.Tools to help you test other testing tools.Tools to verify warnings.Object used to temporarily intercept all events.Tools for inspecting or manipulating references.Utilities for manipulating stashes and globs.Tools for inspecting and manipulating subs.Format a header and rows into a tableBreak up lines for use in tables.Format timing/benchmark information.0Th edition of the Test2 recommended bundle.A test workflow is a way of structuring tests using composable units.Base class for all workflow blocks.Represents a build in progress.Runs the workflows.Encapsulation of a TaskEncapsulation of an action.Encapsulation of a group (describe).Provides
in lib/Test2/AsyncSubtest/Formatter.pmin lib/Test2/Util/Table/Cell.pmin lib/Test2/Util/Term.pmModule Install Instructions
To install Test2::Suite, copy and paste the appropriate command in to your terminal.
cpanm Test2::Suite
perl -MCPAN -e shell install Test2::Suite
For more information on module installation, please visit the detailed CPAN module installation guide.