[html-formfu] Writing Catalyst - FormFu tests

Ascii King tech at swattermatter.com
Wed Apr 8 16:17:56 GMT 2009


Thanks, Moritz. However, I am a dunce and I don't actually know where 
the lib folder is on my Ubuntu machine.
Where is my perl installed do you know?

Moritz Onken wrote:
> 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
>
>
> _______________________________________________
> 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