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

TestFor::Code::TidyAll::Plugin isn't available to plugins on the CPAN #76

Open
2shortplanks opened this issue Jul 11, 2017 · 2 comments

Comments

@2shortplanks
Copy link
Contributor

There seems to be a standard way for testing plugins that are bundled with Code::TidyAll, using the TestFor::Code::TidyAll::Plugin module that's located inside t/lib. However, plugins that are distributed as a separate CPAN distribution can't test using this code.

@autarch
Copy link
Member

autarch commented Jul 11, 2017

Good call. I'd be inclined to make it not subclass TestHelper::Test::Class so you're not locked into Test::Class::Most. It could probably be rewritten as a Role::Tiny role, with guidance on calling the startup code as needed. We'd rename the startup method to something else. What do you think?

@oalders
Copy link
Contributor

oalders commented Oct 4, 2017

@2shortplanks ping

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants