NAME

Test::Fixture::DBIxSkinny - load fixture data to storage for DBIx::Skinny

SYNOPSIS

# in your t/*.t
use Test::Fixture::DBIxSkinny;
my $data = construct_fixture(
  db      => Your::Skinny::Class,
  fixture => 'fixture.yaml',
);

# in your fixture.yaml
- table: entry
  name: entry1
  data:
    id: 1
    title: my policy
    body: shut the f*ck up and write some code
    timestamp: 2008-01-01 11:22:44
- table: entry
  name: entry2
  data:
    id: 2
    title: please join
    body: #coderepos-en@freenode.
    timestamp: 2008-02-23 23:22:58

DESCRIPTION

Test::Fixture::DBIxSkinny is fixture data loader for DBIx::Skinny.

METHODS

construct_fixture

my $data = construct_fixture(
    db      => Your::Skinny::Class,
    fixture => 'fixture.yaml',
);

construct your fixture.

AUTHOR

Atsushi Kobayashi <nekokak _at_ gmail _dot_ com>

SEE ALSO

DBIx::Skinny, Kwalify

THANKS

Test::Fixture::DBIC::Schema

LICENSE

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