test-class icon indicating copy to clipboard operation
test-class copied to clipboard

Add a method to return all of the test methods

Open FGasper opened this issue 11 years ago • 1 comments

It would be really handy to be able to get a list of a Test::Class subclass’s test methods—i.e., what test methods will run when you runtests().

How hard would this be to add?

FGasper avatar Dec 23 '14 18:12 FGasper

I'm not sure about Test::Class, but in Test::Class::Moose, you have most of that information available, along with fine-grained control over how to call them. And with the 'Test' and 'Tests' attributes, migration isn't too difficult.

Ovid avatar Dec 23 '14 21:12 Ovid