5 use Test::Stream 1.301001 '-internal';
6 use Test::More 1.301001 ();
7 use Test::Stream::Carp qw/croak/;
9 our $VERSION = '1.301001_088';
10 $VERSION = eval $VERSION; ## no critic (BuiltinFunctions::ProhibitStringyEval)
16 croak "'use ok' called with an empty argument, did you try to use a package name from an uninitialized variable?"
19 goto &Test::More::pass if $_[0] eq 'ok';
20 goto &Test::More::use_ok;
32 ok - Alternative to Test::More::use_ok
36 use ok 'Some::Module';
40 With this module, simply change all C<use_ok> in test scripts to C<use ok>,
41 and they will be executed at C<BEGIN> time.
43 Please see L<Test::use::ok> for the full description.
49 The source code repository for Test::More can be found at
50 F<http://github.com/Test-More/test-more/>.
56 =item Chad Granum E<lt>exodist@cpan.orgE<gt>
62 The following people have all contributed to the Test-More dist (sorted using
67 =item Chad Granum E<lt>exodist@cpan.orgE<gt>
69 =item Fergal Daly E<lt>fergal@esatclear.ie>E<gt>
71 =item Mark Fowler E<lt>mark@twoshortplanks.comE<gt>
73 =item Michael G Schwern E<lt>schwern@pobox.comE<gt>
81 There has been a lot of code migration between modules,
82 here are all the original copyrights together:
88 =item Test::Stream::Tester
90 Copyright 2014 Chad Granum E<lt>exodist7@gmail.comE<gt>.
92 This program is free software; you can redistribute it and/or
93 modify it under the same terms as Perl itself.
95 See F<http://www.perl.com/perl/misc/Artistic.html>
103 Originally authored by Michael G Schwern E<lt>schwern@pobox.comE<gt> with much
104 inspiration from Joshua Pritikin's Test module and lots of help from Barrie
105 Slaymaker, Tony Bowden, blackstar.co.uk, chromatic, Fergal Daly and the perl-qa
108 Idea by Tony Bowden and Paul Johnson, code by Michael G Schwern
109 E<lt>schwern@pobox.comE<gt>, wardrobe by Calvin Klein.
111 Copyright 2001-2008 by Michael G Schwern E<lt>schwern@pobox.comE<gt>.
113 This program is free software; you can redistribute it and/or
114 modify it under the same terms as Perl itself.
116 See F<http://www.perl.com/perl/misc/Artistic.html>
120 To the extent possible under law, 唐鳳 has waived all copyright and related
121 or neighboring rights to L<Test-use-ok>.
123 This work is published from Taiwan.
125 L<http://creativecommons.org/publicdomain/zero/1.0>
129 This module is copyright 2005 Fergal Daly <fergal@esatclear.ie>, some parts
130 are based on other people's work.
132 Under the same license as Perl itself
134 See http://www.perl.com/perl/misc/Artistic.html
136 =item Test::Builder::Tester
138 Copyright Mark Fowler E<lt>mark@twoshortplanks.comE<gt> 2002, 2004.
140 This program is free software; you can redistribute it
141 and/or modify it under the same terms as Perl itself.