The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Search results for "module:Test2::Require::Perl"

Test2::Require::Perl - Skip the test unless the necessary version of Perl is installed. River stage four • 727 direct dependents • 6230 total dependents

Sometimes you have tests that are nice to run, but depend on a certain version of Perl. This package lets you run the test conditionally, depending on if the correct version of Perl is available....

EXODIST/Test2-Suite-0.000162 - 25 Apr 2024 14:00:32 UTC

Test2 - Framework for writing test tools that all work together. River stage five • 22891 direct dependents • 32646 total dependents

Test2 is a new testing framework produced by forking Test::Builder, completely refactoring it, adding many new features and capabilities. WHAT IS NEW? Easier to test new testing tools. From the beginning Test2 was built with introspection capabilitie...

EXODIST/Test-Simple-1.302199 - 25 Apr 2024 14:14:26 UTC

Test2::Suite - Distribution with a rich set of tools built upon the Test2 framework. River stage four • 727 direct dependents • 6230 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.000162 - 25 Apr 2024 14:00:32 UTC

Test2::Require - Base class and documentation for skip-unless type test packages. River stage four • 727 direct dependents • 6230 total dependents

Test2::Require::* packages are packages you load to ensure your test file is skipped unless a specific requirement is met. Modules in this namespace may subclass Test2::Require if they wish, but it is not strictly necessary to do so....

EXODIST/Test2-Suite-0.000162 - 25 Apr 2024 14:00:32 UTC

Test2::Aggregate - Aggregate tests for increased speed River stage zero No dependents

Aggregates all tests specified with "dirs" (which can even be individual tests) to avoid forking, reloading etc. that can help with performance (dramatically if you have numerous small tests) and also facilitate group profiling. It is quite common to...

DKECHAG/Test2-Aggregate-0.17 - 10 Feb 2022 17:16:42 UTC

Test2::Bundle::More - ALMOST a drop-in replacement for Test::More. River stage four • 727 direct dependents • 6230 total dependents

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

EXODIST/Test2-Suite-0.000162 - 25 Apr 2024 14:00:32 UTC

Test2::Plugin::UTF8 - Test2 plugin to test with utf8. River stage four • 727 direct dependents • 6230 total dependents

When used, this plugin will make tests work with utf8. This includes turning on the utf8 pragma and updating the Test2 output formatter to use utf8....

EXODIST/Test2-Suite-0.000162 - 25 Apr 2024 14:00:32 UTC

Test2::Require::Fork - Skip a test file unless the system supports forking River stage four • 727 direct dependents • 6230 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.000162 - 25 Apr 2024 14:00:32 UTC

Test2::Manual::Testing - Hub for documentation about writing tests with Test2. River stage four • 727 direct dependents • 6230 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.000162 - 25 Apr 2024 14:00:32 UTC

Test2::Require::Module - Skip tests if certain packages are not installed, or insufficient versions. River stage four • 727 direct dependents • 6230 total dependents

Sometimes you have tests that are nice to run, but depend on tools that may not be available. Instead of adding the tool as a dep, or making the test always skip, it is common to make the test run conditionally. This package helps make that possible....

EXODIST/Test2-Suite-0.000162 - 25 Apr 2024 14:00:32 UTC

Test2::Require::EnvVar - Only run a test when a specific environment variable is set. River stage four • 727 direct dependents • 6230 total dependents

It is common practice to write tests that are only run when an environment variable is set. This module automates the (admittedly trivial) work of creating such a test....

EXODIST/Test2-Suite-0.000162 - 25 Apr 2024 14:00:32 UTC

Test2::Require::Threads - Skip a test file unless the system supports threading River stage four • 727 direct dependents • 6230 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.000162 - 25 Apr 2024 14:00:32 UTC

Test2::Harness::TestFile - Abstraction of a test file and its meta-data. River stage two • 12 direct dependents • 16 total dependents

When Test2::Harness finds test files to run each one gets an instance of this class to represent it. This class will scan test files to find important meta data (binary vs script, inline harness directives, etc). The meta-data this class can find hel...

EXODIST/Test2-Harness-1.000155 - 03 Oct 2023 15:58:08 UTC

Test2::Tools::LoadModule - Test whether a module can be successfully loaded. River stage one • 5 direct dependents • 6 total dependents

This Test2::Tools module tests whether a module can be loaded, and optionally whether it has at least a given version, and exports specified symbols. It can also skip tests, or skip all tests, based on these criteria. Test2::Manual::Testing::Migratin...

WYANT/Test2-Tools-LoadModule-0.008 - 23 Oct 2022 13:00:35 UTC

Test2::Require::Internet - Skip tests if there is no internet access River stage one • 6 direct dependents • 6 total dependents

This test requirement will skip your test if either The environment variable "NO_NETWORK_TESTING" is set to a true value A connection to a particular host/port cannot be made. The default is usually reasonable, but subject to change as the author see...

PLICEASE/Test2-Tools-HTTP-0.11 - 31 Aug 2022 12:25:17 UTC

Test2::Require::RealFork - Skip a test file unless the system supports true forking River stage four • 727 direct dependents • 6230 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.000162 - 25 Apr 2024 14:00:32 UTC

Test2::Harness::Util::File::JSON - Utility class for a JSON file. River stage two • 12 direct dependents • 16 total dependents

Subclass of Test2::Harness::Util::File which automatically handles encoding/decoding JSON data....

EXODIST/Test2-Harness-1.000155 - 03 Oct 2023 15:58:08 UTC

Test2::Require::AuthorTesting - Only run a test when the AUTHOR_TESTING environment variable is set. River stage four • 727 direct dependents • 6230 total dependents

It is common practice to write tests that are only run when the AUTHOR_TESTING environment variable is set. This module automates the (admittedly trivial) work of creating such a test....

EXODIST/Test2-Suite-0.000162 - 25 Apr 2024 14:00:32 UTC

Test2::Require::ReleaseTesting - Only run a test when the RELEASE_TESTING environment variable is set. River stage four • 727 direct dependents • 6230 total dependents

It is common practice to write tests that are only run when the RELEASE_TESTING environment variable is set. This module automates the (admittedly trivial) work of creating such a test....

EXODIST/Test2-Suite-0.000162 - 25 Apr 2024 14:00:32 UTC

Test2::Manual::Testing::Migrating - How to migrate existing tests from Test::More to Test2. River stage four • 727 direct dependents • 6230 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.000162 - 25 Apr 2024 14:00:32 UTC
24 results (0.055 seconds)