[Catalyst-dev] How to test runtime?
shtil at comcast.net
shtil at comcast.net
Mon Aug 18 19:15:05 BST 2008
-------------- Original message ----------------------
From: Andy Grundman <andy at hybridized.org>
>
> On Aug 18, 2008, at 1:46 PM, shtil at comcast.net wrote:
>
> > I have patched runtime (revision 8231). How do I run the test suite?
> > make test seems to require a Catalyst application running since it
> > generates numerous errors
> > 500 Can't connect to localhost:3000 (connect: Connection refused).
>
> make test does not require a server to be running, it tests
> internally. Make sure you do not have a CATALYST_SERVER environment
> variable set though, that could break the test suite.
>
> _______________________________________________
>
I made sure, still I get errors:
# Failed test 'Executed actions'
# at t/live_component_controller_action_chained.t line 964.
# got: 'TestApp::Controller::Action::Chained->begin, TestApp::Controller::Action::Chained->apan, TestApp::Controller::Action::Chained->wurst, TestApp::Controller::Action::Chained->capture_end, TestApp::Controller::Action::Chained->end'
# expected: 'TestApp::Controller::Action::Chained->begin, TestApp::Controller::Action::Chained->apan, TestApp::Controller::Action::Chained->korv, TestApp::Controller::Action::Chained->static_end, TestApp::Controller::Action::Chained->end'
# Failed test 'Executed actions'
# at t/live_component_controller_action_go.t line 240.
# got: 'TestApp::Controller::Action::Go->begin, TestApp::Controller::Action::Go->go_chained, TestApp::Controller::Action::Chained->begin, TestApp::Controller::Action::Chained::Foo->spoon, TestApp::Controller::Action::Chained->end'
# expected: 'TestApp::Controller::Action::Go->begin, TestApp::Controller::Action::Go->go_chained, TestApp::Controller::Action::Chained->begin, TestApp::Controller::Action::Chained->foo, TestApp::Controller::Action::Chained::Foo->spoon, TestApp::Controller::Action::Chained->end'
# Looks like you failed 1 test of 50.
# Failed test 'Server restarted'
# at t/optional_http-server-restart.t line 206.
Label not found for "last SKIP" at /usr/lib/perl5/5.8.8/Test/More.pm line 1034, <GEN1> line 1.
# Looks like you planned 120 tests but only ran 82.
# Looks like you failed 1 test of 82 run.
# Looks like your test died just after 82.
t/optional_http-server-restart................................ Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 39/120 subtests
(less 1 skipped subtest: 80 okay)
and a few more ...
More information about the Catalyst-dev
mailing list