I don't see the redirect in the previous response!?
What does the normal output (Catalyst console debug output) look like, when
redirect happens?
Greets,
Mario Minati
Am Dienstag 14 April 2009 23:05:31 schrieb Moritz Onken:
> $res = bless( {
>'_previous' => bless( {
> '_protocol' => '
Am Mittwoch 15 April 2009 15:18:18 schrieb Moritz Onken:
> Am 15.04.2009 um 15:06 schrieb Mario Minati:
> > Updated /Catalyst/ and /Test/ but still the same results.
> > Updating more packages now.
> >
> > I'm still useing perl 5.8.8, that shouldn't be a problem, right?
>
> I'm on 5.8.8, too.
>
> W
Am 15.04.2009 um 15:06 schrieb Mario Minati:
Updated /Catalyst/ and /Test/ but still the same results.
Updating more packages now.
I'm still useing perl 5.8.8, that shouldn't be a problem, right?
I'm on 5.8.8, too.
We can easily change the test to
$res = $res->previous if $res->previous;
Updated /Catalyst/ and /Test/ but still the same results.
Updating more packages now.
I'm still useing perl 5.8.8, that shouldn't be a problem, right?
Greets
Mario Minati
Am Mittwoch 15 April 2009 09:49:35 schrieb Moritz Onken:
> Try updating Test::WWW::Mechanize::Catalyst first.
>
> Am 14.04
Try updating Test::WWW::Mechanize::Catalyst first.
Am 14.04.2009 um 23:33 schrieb Mario Minati:
Am Dienstag 14 April 2009 22:55:33 schrieb Moritz Onken:
Hm, interesting. Seems like your test is not following the redirect,
though it is present in
_headers->location. Does the test pass if you r
Am Dienstag 14 April 2009 22:55:33 schrieb Moritz Onken:
> Hm, interesting. Seems like your test is not following the redirect,
> though it is present in
> _headers->location. Does the test pass if you remove the ->previous
> from line 30?
Yes, all 18 test pass ok.
> could you make a "cpan upgrad
$res = bless( {
'_previous' => bless( {
'_protocol' => 'HTTP/1.1',
'_content' => '{"success":1,"data":
{"password":"foo","name":"bar","id":null}}',
'_rc' => '201',
'_headers' => bless( {
'x-catalyst' => '5.71001',
'content-base' => bless( do{\(my $o = '/user')},
'
Hm, interesting. Seems like your test is not following the redirect,
though it is present in
_headers->location. Does the test pass if you remove the ->previous
from line 30?
could you make a "cpan upgrade" to upgrade all modules? Could be
libwww-perl or something?!
moritz
Am 14.04.2009
Hi Moritz,
now my understanding of testing Catalyst is a little better. :-)
The user.t doesn't work for me, the problem with redirected request doesn't
come up here.
The output is:
--snip--
ok 1 - request list of users
ok 2 - response is JSON response
ok 3 - no results
[info] *** Request 2 (2.0
Am Samstag 11 April 2009 21:48:10 schrieb Moritz Onken:
> > 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 Makefi
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
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 so
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:
Cata
Hi,
I'm currently writing the test suite. If you can wait for a few more
hours I'll commit it and we can start testing, yeeha :-)
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 s
2009/4/10 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 ta
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
16 matches
Mail list logo