Author image Christopher Fields
and 1 contributors

NAME - DBTestHarness.pm

SYNOPSIS

    # Add test dir to lib search path
    use lib 't';
    
    use DBTestHarness;
    
    my $harness = DBTestHarness->new();
    
    # Load some data into the db
    $ens_test->do_sql_file("some_data.sql");
    
    # Get an Overlap db object for the test db
    my $db = $harness->db();

DESCRIPTION

This is a direct copy-and-paste from the Ensembl EnsTestDB system.

It provides an encapsulation of creating, loading and dropping databases for testing

METHODS

AUTHOR

James Gilbert email jgrg@sanger.ac.uk