Test::Auto::Types
Test-Auto Type Constraints
package main; use Test::Auto::Types; 1;
This package provides type constraints for Test::Auto.
This package declares the following type constraints:
Parser
This type is defined in the Test::Auto::Types library.
Object
InstanceOf['Test::Auto::Parser']
require Test::Auto; require Test::Auto::Parser; my $test = Test::Auto->new('t/Test_Auto.t'); my $parser = Test::Auto::Parser->new(source => $test);
Source
InstanceOf['Test::Auto']
require Test::Auto; my $test = Test::Auto->new('t/Test_Auto.t');
Strings
ArrayRef[Str]
['abc', 123]
Subtests
InstanceOf['Test::Auto::Subtests']
require Test::Auto; require Test::Auto::Parser; require Test::Auto::Subtests; my $test = Test::Auto->new('t/Test_Auto.t'); my $parser = Test::Auto::Parser->new(source => $test); my $subs = Test::Auto::Subtests->new(parser => $parser);
Al Newkirk, awncorp@cpan.org
awncorp@cpan.org
Copyright (C) 2011-2019, Al Newkirk, et al.
This is free software; you can redistribute it and/or modify it under the terms of the The Apache License, Version 2.0, as elucidated in the "license file".
Wiki
Project
Initiatives
Milestones
Issues
To install Test::Auto, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::Auto
CPAN shell
perl -MCPAN -e shell install Test::Auto
For more information on module installation, please visit the detailed CPAN module installation guide.