Hi Moritz,

the suite looks good so far, I just read the code and gives quite important
comments ('redirect' :roll:).

The suite is not meant to run automatically on make test, right?

Maybe we have to tweak Makefile.PL but they should run automatically.
I guess we need "tests_recursive;" in Makefile.PL


Do you have a special suggestion on howto include all the SVN FormFu modules
into lib? Currently I have quite some -I options.


I usually export the PERL5LIB variable which is read by perl.
Is there more than the svn version of FormFu::ExtJS that we depend on?

moritz


Am 11.04.2009 um 21:17 schrieb Mario Minati:

Hi Moritz,

the suite looks good so far, I just read the code and gives quite important
comments ('redirect' :roll:).

The suite is not meant to run automatically on make test, right?

Do you have a special suggestion on howto include all the SVN FormFu modules
into lib? Currently I have quite some -I options.


Happy Easter,

Mario Minati



Am Freitag 10 April 2009 14:21:02 schrieb Moritz Onken:
Hi,


I commited the test suite and created a test which is located in t/
rest/user.yml.

I think this is a good start for new tests and works pretty good so far.
I added a few comments to the test so you can understand why certain
things happen or don't.

I usually run tests like this:

CatalystX-Controller-ExtJS mo$ perl -Ilib t/rest/user.yml

This way you get more output than using make test or prove.

You don't need to deploy the schema or do something like that. This is
handled in MyApp::Model::DBIC.

Testing a REST-app sucks because all those HTTP::* and LWP::UserAgent
modules
don't support it very well. Example: Try to post form data using PUT.

Have fun,

moritz

Am 10.04.2009 um 10:44 schrieb Mario Minati:
I wanted to step into the test creation for
CatalystX::Controller::ExtJS::REST
but am wondering how to start.

Do we need to create a complete Cat test app, including sqlite db to
test it
or is there maybe an easier way?

Which module would be a good start to take modules as template.


I wish a nice Good Friday,

Mario Minati

_______________________________________________
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu

_______________________________________________
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu



_______________________________________________
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu


_______________________________________________
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu

Reply via email to