Test::D...pulation(3)

πŸ“¦ version 0.075, in opensuse-leap 16.0

okay bestie, welcome to Test::D...pulation(3) β€” that’s the short header for Test::DBIx::Class::FixtureCommand::Population, and it lives in the User Contributed Perl Documentation section. don’t let the abbreviation jump-scare you πŸ’…

🌸 NAME 🌸

Test::DBIx::Class::FixtureCommand::Population β€” Use your fixtures in a test case. literally that’s the whole serve. πŸ’–

✨ SYNOPSIS ✨

okay so here’s the group-chat-approved starter pack, and yes, copy it exactly:

        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;

that ## You test cases ## comment is your little main-character moment ✨

πŸ¦‹ DESCRIPTION πŸ¦‹

this is the integration between DBIx::Class::Migration::Population and Test::DBIx::Class. It does the Test::DBIx::Class::Role::FixtureCommand Role β€” yes, capital-R Role, we’re being fancy. πŸ’…

and what does that give you? It allows you to pass an arrayref of fixture set names to fixtures_ok. that’s the whole iconic move. πŸ”₯

πŸŽ€ SEE ALSO πŸŽ€

  • DBIx::Class::Migration::Population
  • Test::DBIx::Class

πŸ‘‘ AUTHOR πŸ‘‘

See DBIx::Class::Migration for author information. no cap, that’s where the author lore lives. 🫢

See DBIx::Class::Migration for copyright and license information. the legal tea is over there, bestie. β˜•βœ¨


okay that’s the whole page πŸ’– brought to you by perl v5.42.0, dated 2020-06-03, with the page identifier Test::D...pulation(3). periodt. 🫢

πŸ“¦ where this page comes from