=encoding utf8 This is Perl module B<Test::Arrow>. It's Object-Oriented testing library. =begin html <a href="https://github.com/bayashi/Test-Arrow/blob/master/README.pod"><img src="https://img.shields.io/badge/Version-0.15-green?style=flat"></a> <a href="https://github.com/bayashi/Test-Arrow/blob/master/LICENSE"><img src="https://img.shields.io/badge/LICENSE-Artistic%202.0-GREEN.png"></a> <a href="https://github.com/bayashi/Test-Arrow/actions"><img src="https://github.com/bayashi/Test-Arrow/workflows/master/badge.svg?_t=1583345203"/></a> <a href="https://coveralls.io/r/bayashi/Test-Arrow"><img src="https://coveralls.io/repos/bayashi/Test-Arrow/badge.png?_t=1583345203&branch=master"/></a> =end html =head1 SYNOPSIS use Test::Arrow; my $arr = Test::Arrow->new; $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; $arr->expected(qr/^ab/) ->got('abc') ->like; $arr->warnings(sub { warn 'Bar' })->catch(qr/^Ba/); $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<http://github.com/bayashi/Test-Arrow> =head1 LICENSE C<Test::Arrow> 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 E<lt>bayashi@cpan.orgE<gt>