We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am looking for a way to replace this idiom
BEGIN { use_ok( 'Some::Module' ) or BAIL_OUT( "Cannot load module 'Some::Module'!" ); }
with something that uses the ok module?!
The text was updated successfully, but these errors were encountered:
I think this feature request should be a new module. I do not want to complicate ok.pm with this functionality.
I would suggest subclassing https://metacpan.org/pod/Test2::Require::Module in Test2::Require::ModuleOrBail that implements the additional behavior.
If you write it as a PR against Test2-Suite I will likely merge it. But it is also perfectly reasonable as a stand alone cpan dist.
Sorry, something went wrong.
No branches or pull requests
I am looking for a way to replace this idiom
with something that uses the ok module?!
The text was updated successfully, but these errors were encountered: