>>>>> "Fahad" == Fahad Khan <[email protected]> writes:
    Fahad> Sorry that I am not answering your question directly. As this
    Fahad> appears to be for testing, consider writing your test such
    Fahad> that it cleans up after itself and reverts any changes to the
    Fahad> database. This will also help avoid tests failing
    Fahad> intermittently.

See Test::DBIx::Class for an automated way to do this.

-- 
  Eden Cardim
  Code Monkey                    http://www.shadowcat.co.uk/catalyst/
 Shadowcat Systems Ltd.  Want a managed development or deployment platform?
http://blog.edencardim.com/            http://www.shadowcat.co.uk/servers/
http://twitter.com/#!/edenc

_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[email protected]

Reply via email to