[Catalyst] reducing app startup time in tests

Richard Jolly Richard.Jolly at bbc.co.uk
Wed Jul 12 14:55:18 CEST 2006


Hi,

We have a fair number of tests using Test::WWW::Mechanize::Catalyst. The
startup time in these is slow enough (approx 20 seconds) that it is
inconvenient for development, because our total test run is almost 1 hr.

Most of these tests have identical setup actions, and do not alter the
db they run against.

The hardware is sub par, which is one obvious way to address this.
Another would be to start a server and run the tests against that. Are
there others? Something clever like using Storable to freeze the
initialized Catalyst app to disk, and have the test setup simply
retrieve it?

Thanks,

Richard

http://www.bbc.co.uk/

This e-mail (and any attachments) is confidential and may contain
personal views which are not the views of the BBC unless specifically
stated.
If you have received it in error, please delete it from your system. 
Do not use, copy or disclose the information in any way nor act in
reliance on it and notify the sender immediately. Please note that the
BBC monitors e-mails sent or received. 
Further communication will signify your consent to this.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rawmode.org/pipermail/catalyst/attachments/20060712/19a4b1a0/attachment.htm 


More information about the Catalyst mailing list