Name : perl-Test-Pretty
| |
Version : 0.32
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : 1.1
| Date : 2016-04-30 14:01:51
|
Group : Development/Libraries/Perl
| Source RPM : perl-Test-Pretty-0.32-1.1.src.rpm
|
Size : 0.06 MB
| |
Packager : (none)
| |
Summary : Smile Precure!
|
Description :
Test::Pretty is a prettifier for Test::More.
When you are writing a test case such as following:
use strict; use warnings; use utf8; use Test::More;
subtest \'MessageFilter\' => sub { my $filter = MessageFilter->new(\'foo\');
subtest \'should detect message with NG word\' => sub { ok($filter->detect(\'hello from foo\')); }; subtest \'should not detect message without NG word\' => sub { ok(!$filter->detect(\'hello world!\')); }; };
done_testing;
This code outputs following result:
No, it\'s not readable. Test::Pretty makes this result to pretty.
You can enable Test::Pretty by
use Test::Pretty;
Or just add following option to perl interpreter.
-MTest::Pretty
After this, you can get a following pretty output.
And this module outputs TAP when $ENV{HARNESS_ACTIVE} is true or under the win32.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl/SLE_12_SP1/noarch |
Hmm ... It's impossible ;-) This RPM doesn't exist on any FTP server
Provides :
perl(App::Prove::Plugin::Pretty)
perl(App::Prove::Plugin::retty)
perl(TAP::Formatter::Pretty::Multi)
perl(TAP::Formatter::Pretty::Multi::Session)
perl(TAP::Formatter::Pretty::Single)
perl(TAP::Formatter::Pretty::Single::Session)
perl(Test::Pretty)
perl(Test::Pretty::Harness)
perl(Test::Pretty::Parser)
perl-Test-Pretty
Requires :