Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a method to return all of the test methods #18

Open
FGasper opened this issue Dec 23, 2014 · 1 comment
Open

Add a method to return all of the test methods #18

FGasper opened this issue Dec 23, 2014 · 1 comment

Comments

@FGasper
Copy link

FGasper commented Dec 23, 2014

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?

@Ovid
Copy link
Collaborator

Ovid commented Dec 23, 2014

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.

exodist pushed a commit to exodist/test-class that referenced this issue Jun 6, 2015
This is a minimal fix. Ideally Test::Class would be switched around to
actually use Test::Stream directly, but that is a huge task.

closes mjgardner#17, and ncludes the amendment that closes mjgardner#18.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants