Subject: | Import EXPORT_OK subroutines from Test modules? |
Hey Ovid,
There may already be a way to do this, but I don't see it.
Say I have a module like Test::Output (https://metacpan.org/module/Test::Output) that I want to include in my Kit, but I want to include the optional stdout_from() sub, how do I do that?
https://metacpan.org/module/Test::Output#EXPORTS
https://metacpan.org/module/Test::Output#stdout_from
If it's not currently possible I would suggest the format:
use Test::Kit(
'Test::Output' => [ ':stdout', 'stdout_from' ],
'Test::Deep' => { 'exclude' => [ 'any' ] },
);
Or so?