Scroll to navigation

Test::DBIx::Class::FixtureCommand::Population(3) User Contributed Perl Documentation Test::DBIx::Class::FixtureCommand::Population(3)

NAME

Test::DBIx::Class::FixtureCommand::Population - Use your fixtures in a test case.

SYNOPSIS

    use Test::Most;
    use Test::DBIx::Class
      -schema_class=>'MusicBase::Schema',
      -fixture_class => '::Population,
      qw(Artist);
    fixtures_ok ['all_tables'];
    fixtures_ok ['more_sets', 'and_even_more_sets'];
    ## You test cases ##
    done_testing;

DESCRIPTION

Integration between DBIx::Class::Migration::Population and Test::DBIx::Class. Does the Test::DBIx::Class::Role::FixtureCommand Role.

Allows you to pass an arrayref of fixture set names to "fixtures_ok".

SEE ALSO

DBIx::Class::Migration::Population, Test::DBIx::Class

AUTHOR

See DBIx::Class::Migration for author information

COPYRIGHT & LICENSE

See DBIx::Class::Migration for copyright and license information

2020-06-03 perl v5.40.0