I want to test if the @EXPORT_TAGS ( 'all' => qw(sub1 sub2 sub3 )) 'shortcut' works properly.
Is this the right way to do it? I want some info printed out so I wrap the use_ok() function into another ok() function, because use_ok() does not accept a descriptive string as a third argument, AFAK. Or is this just too quick and dirty?
ok(
use_ok('MyModule::Common', ':all'),
"Can use ':all' to import all subs that MyModule::Common exports "
) or exit;