[html-formfu] Writing Catalyst - FormFu tests

Moritz Onken onken at houseofdesign.de
Wed Apr 8 15:12:32 GMT 2009


Hi,

in that test there are two lines:

use DBICTestLib 'new_db';
new_db();

Those do create this test.db file. You can simply copy the lib folder  
inside t/ and call this method in your tests, too.


Am 08.04.2009 um 16:33 schrieb Ascii King:

> I'm trying to write a test to demonstrate a problem I am having with  
> Formfu and Catalyst and a repeatable within a repeatable.  I am only  
> just learning how to write tests. Is the following test a good  
> example of what I should be doing?
>
> http://html-formfu.googlecode.com/svn/trunk/HTML-FormFu-Model-DBIC/t/update/has_many_repeatable.t
>
> In this example, is the test.db already set up and a schema already  
> created? It would seem that if that is true, then there would be no  
> way for anyone else torun that test.
>
> _______________________________________________
> HTML-FormFu mailing list
> HTML-FormFu at lists.scsys.co.uk
> http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu




More information about the HTML-FormFu mailing list