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

NAME

Test::Auto::Types

ABSTRACT

Test-Auto Type Constraints

SYNOPSIS

  package main;

  use Test::Auto::Types;

  1;

DESCRIPTION

This package provides type constraints for Test::Auto.

CONSTRAINTS

This package declares the following type constraints:

parser

  Parser

This type is defined in the Test::Auto::Types library.

parser parent
  Object
parser composition
  InstanceOf['Test::Auto::Parser']
parser example #1
  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

  Source

This type is defined in the Test::Auto::Types library.

source parent
  Object
source composition
  InstanceOf['Test::Auto']
source example #1
  require Test::Auto;

  my $test = Test::Auto->new('t/Test_Auto.t');

strings

  Strings

This type is defined in the Test::Auto::Types library.

strings composition
  ArrayRef[Str]
strings example #1
  ['abc', 123]

subtests

  Subtests

This type is defined in the Test::Auto::Types library.

subtests parent
  Object
subtests composition
  InstanceOf['Test::Auto::Subtests']
subtests example #1
  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);

AUTHOR

Al Newkirk, awncorp@cpan.org

LICENSE

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".

PROJECT

Wiki

Project

Initiatives

Milestones

Issues