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

NAME

Test::Chado::Types

VERSION

version v4.1.1

SYNOPSIS

In the consuming class

use Test::Chado::Types qw/BCS FixtureLoader/; use Moo; use Test::Chado::FixtureLoader::Preset;

has 'schema' => ( is => 'rw', isa => BCS);

has 'loader' => ( is => 'rw', isa => FixtureLoader, lazy => 1, default => sub { return Test::Chado::FixtureLoader::Preset->new } );

Types defined

DBH

The DBI connect object

DbManager

A consuming class that consumes Test::Chado::Role::HasDBManager

BCS

Bio::Chado::Schema object

Twig

XML::Twig object

Graph

Graph object

GraphT

Graph::Traversal object

HashiFied

Data::Perl::Collection::Hash object

FixtureLoader

Class that consumes Test::Chado::Role::Helper::WithBcs role

FixtureManager

Class that consumes Test::Chado::FixtureManager::Flatfile

DBIC

DBIx::Class::Schema object

TB

Test::Builder object

MaybeDbManager

To define a type which might or might not hold a DbManager type

MaybeFixtureLoader

To define a type which might or might not hold a FixtureManager type

AUTHOR

Siddhartha Basu <biosidd@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Siddhartha Basu.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.