=encoding utf8 This is Perl module B. It's Object-Oriented testing library. =begin html =end html =head1 SYNOPSIS use Test::Arrow; my $arr = Test::Arrow->new; $arr->ok(1); $arr->got(1)->ok; $arr->expect(uc 'foo')->to_be('FOO'); $arr->name('Test Name') ->expected('FOO') ->got(uc 'foo') ->is; $arr->expected(6) ->got(2 * 3) ->is_num; # `unlike` shows where a place could have matched if it's failed $arr->name('Unlike Fail example') ->expected(qr/b/) ->got('abc') ->unlike; # Failed test 'Unlike Fail example' # at t/unlike.t line 12. # 'abc' # matches '(?^:b)' # matched at line: 1, offset: 2 $arr->throw(sub { die 'Baz' })->catch(qr/^Ba/); =head1 INSTALLATION Test::Arrow installation is straightforward. If your CPAN shell is set up, you should just be able to do % cpan Test::Arrow Download it, unpack it, then build it as per the usual: % perl Makefile.PL % make && make test Then install it: % make install =head1 DOCUMENTATION Test::Arrow documentation is available as in POD. So you can do: % perldoc Test::Arrow =head1 REPOSITORY Test::Arrow is hosted on github L =head1 LICENSE C is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0. (Note that, unlike the Artistic License 1.0, version 2.0 is GPL compatible by itself, hence there is no benefit to having an Artistic 2.0 / GPL disjunction.) See the file LICENSE for details. =head1 AUTHOR Dai Okabayashi Ebayashi@cpan.orgE