houseabsolute / perl-code-tidyall

Engine for tidyall, your all-in-one code tidier and validator
https://metacpan.org/release/Code-TidyAll/
Other
21 stars 31 forks source link

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

Open 2shortplanks opened 7 years ago

2shortplanks commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago

@2shortplanks ping