ghenry has asked for the wisdom of the Perl Monks concerning the following question:
Hi all,
I've almost completed the first version of the SureVoIP RESTful hypermedia API and wanted some advice on sharing data between separate tests.
I'm working on the create customer method (POST to /customers) and once I've returned "201 Created" I'll have the Location of the new customer resource. How should I save this and use it in all my other tests? Config::Tiny? Storable?
What do you recommend? I can't see anything apart from Temp databases in Perl Testing: A Developer's Notebook and nothing in Test::More
I'm using Catalyst, Catalyst::Controller::REST, PostgreSQL and DBIx::Class
Thanks, Gavin.
Walking the road to enlightenment... I found a penguin and a camel on the way.....
Fancy a yourname@perl.me.uk? Just ask!!!
Fancy a yourname@perl.me.uk? Just ask!!!
Back to
Seekers of Perl Wisdom