jjn1056/Test-DBIx-Class — pull request #22 by colinnewell (2012-11-28 22:00:52+00:00)
Title: Potential fix for issue 21

This looks like a reasonable fix to allow the tests to fail when there is a problem creating the schema. I added the setting named fail_on_schema_break. Does this look reasonable to you?

use Test::DBIx::Class {
schema_class => 'OpusVL::TokenProcessor::DB::Schema',
traits => [qw/Testpostgresql/],
fail_on_schema_break => 1,

I was looking at the code relating to the environment variables and I couldn't quite figure out how that worked. It looks like it probably ought to allow the overriding of the setting, but I couldn't quite figure out how.