InfiniteLoop has asked for the wisdom of the Perl Monks concerning the following question:

Greetings Monks,

I have a Test::More test method verifying the data returned by a url that returns json data. I also need to run the same set of tests against a different url. Is there any way to re-use the tests ? Thanks in advance.

That was a really stupid question; I just created a sub with all the common tests and invoked accordingly.


Replies are listed 'Best First'.
Re: reuse Test::More methods
by Khen1950fx (Canon) on Jul 02, 2012 at 16:27 UTC
    Actually, I think that you were thinking of Test::Reuse.