|Just another Perl shrine|
Sharing data between tests?by ghenry (Vicar)
|on Jan 31, 2012 at 21:06 UTC||Need Help??|
ghenry has asked for the
wisdom of the Perl Monks concerning the following question:
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?
Walking the road to enlightenment... I found a penguin and a camel on the way.....
Fancy a firstname.lastname@example.org? Just ask!!!