Title: [Catalyst] reducing app startup time in tests

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.

_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to