Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Catalyst: Dev

How to test runtime?

 

 

Catalyst dev RSS feed   Index | Next | Previous | View Threaded


shtil at comcast

Aug 18, 2008, 10:46 AM

Post #1 of 4 (871 views)
Permalink
How to test runtime?

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).

--
Sincerely

Yuri Shtil



_______________________________________________
Catalyst-dev mailing list
Catalyst-dev[at]lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst-dev


andy at hybridized

Aug 18, 2008, 10:53 AM

Post #2 of 4 (832 views)
Permalink
Re: How to test runtime? [In reply to]

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.

_______________________________________________
Catalyst-dev mailing list
Catalyst-dev[at]lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst-dev


shtil at comcast

Aug 18, 2008, 11:15 AM

Post #3 of 4 (828 views)
Permalink
Re: How to test runtime? [In reply to]

-------------- 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 ...

_______________________________________________
Catalyst-dev mailing list
Catalyst-dev[at]lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst-dev


shtil at comcast

Aug 18, 2008, 11:15 AM

Post #4 of 4 (833 views)
Permalink
Re: How to test runtime? [In reply to]

-------------- 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 ...

_______________________________________________
Catalyst-dev mailing list
Catalyst-dev[at]lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst-dev

Catalyst dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.