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.
In reply to Sharing data between tests? by ghenry
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |