libtest-roo-perl_1.004-1_all.deb


Advertisement

Description

libtest-roo-perl - module for composable, reusable tests with roles and Moo

Property Value
Distribution Debian 8 (Jessie)
Repository Debian Main amd64
Package name libtest-roo-perl
Package version 1.004
Package release 1
Package architecture all
Package type deb
Installed size 134 B
Download size 32.58 KB
Official Mirror ftp.br.debian.org
Test::Roo allows you to compose Test::More tests from roles. It is inspired
by the excellent Test::Routine module, but uses Moo instead of Moose. This
gives most of the benefits without the need for Moose as a test dependency.
Test files are Moo classes. You can define any needed test fixtures as Moo
attributes. You define tests as method modifiers -- similar in concept to
"subtest" in Test::More, but your test method will be passed the test object
for access to fixture attributes. You may compose any Moo::Role into your
test to define attributes, require particular methods, or define tests.
This means that you can isolate test *behaviors* into roles which require
certain test *fixtures* in order to run. Your main test file will provide the
fixtures and compose the roles to run. This makes it easy to reuse test
behaviors.
For example, if you are creating tests for Awesome::Module, you could create
the test behaviors as Awesome::Module::Test::Role and distribute it with your
module. If another distribution subclasses Awesome::Module, it can compose
the Awesome::Module::Test::Role behavior for its own tests.
No more copying and pasting tests from a super class! Superclasses define and
share their tests. Subclasses provide their own fixtures and run the tests.

Alternatives

Package Version Architecture Repository
libtest-roo-perl_1.004-1_all.deb 1.004 all Debian Main
libtest-roo-perl - - -

Requires

Name Value
libmoo-perl >= 1.000008
libmoox-types-mooselike-perl -
libstrictures-perl -
libsub-install-perl -
libtest-simple-perl >= 0.96
perl >= 5.13.4
perl -

Download

Type URL
Binary Package libtest-roo-perl_1.004-1_all.deb
Source Package libtest-roo-perl

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install libtest-roo-perl deb package:
    # sudo apt-get install libtest-roo-perl

Files

Path
/usr/share/doc/libtest-roo-perl/CONTRIBUTING.mkdn
/usr/share/doc/libtest-roo-perl/changelog.Debian.gz
/usr/share/doc/libtest-roo-perl/changelog.gz
/usr/share/doc/libtest-roo-perl/copyright
/usr/share/doc/libtest-roo-perl/examples/cookbook/hookable_test.t
/usr/share/doc/libtest-roo-perl/examples/cookbook/single_file.t
/usr/share/doc/libtest-roo-perl/examples/cookbook/sqlite-confirm.t
/usr/share/doc/libtest-roo-perl/examples/cookbook/sqlite.t
/usr/share/doc/libtest-roo-perl/examples/cookbook/standalone.t
/usr/share/doc/libtest-roo-perl/examples/cookbook/test-pcr.pl
/usr/share/doc/libtest-roo-perl/examples/cookbook/test-pir.pl
/usr/share/doc/libtest-roo-perl/examples/cookbook/with_tempd.t
/usr/share/doc/libtest-roo-perl/examples/cookbook/wrapped.t
/usr/share/doc/libtest-roo-perl/examples/cookbook/lib/CorpusCheck.pm
/usr/share/doc/libtest-roo-perl/examples/cookbook/lib/IteratorTest.pm
/usr/share/doc/libtest-roo-perl/examples/synopsis/README
/usr/share/doc/libtest-roo-perl/examples/synopsis/t/test.t
/usr/share/doc/libtest-roo-perl/examples/synopsis/t/lib/ObjectCreation.pm
/usr/share/man/man3/Test::Roo.3pm.gz
/usr/share/man/man3/Test::Roo::Class.3pm.gz
/usr/share/man/man3/Test::Roo::Cookbook.3pm.gz
/usr/share/man/man3/Test::Roo::Role.3pm.gz
/usr/share/perl5/Test/Roo.pm
/usr/share/perl5/Test/Roo/Class.pm
/usr/share/perl5/Test/Roo/Cookbook.pm
/usr/share/perl5/Test/Roo/Role.pm

Changelog

2014-08-12 - gregor herrmann <gregoa@debian.org>
libtest-roo-perl (1.004-1) unstable; urgency=medium
* New upstream release.
* Make build dependency on libcapture-tiny-perl versioned.
* CONTRIBUTING was renamed to CONTRIBUTING.mkdn.
2014-06-29 - gregor herrmann <gregoa@debian.org>
libtest-roo-perl (1.003-1) unstable; urgency=medium
* New upstream release.
2014-01-14 - gregor herrmann <gregoa@debian.org>
libtest-roo-perl (1.002-1) unstable; urgency=low
* Initial release (closes: #735318).

See Also

Package Description
libtest-routine-perl_0.020-1_all.deb Perl test framework for tests as composable units of assertion
libtest-script-perl_1.07-2_all.deb Perl test module for scripts
libtest-script-run-perl_0.08-1_all.deb Perl module for testing scripts as subprocesses
libtest-sharedfork-perl_0.29-1_all.deb module to run tests in multiple processes and merge results
libtest-signature-perl_1.10-1+deb8u1_all.deb Perl module that provides automatic SIGNATURE testing
libtest-simple-perl_1.001008-1_all.deb set of basic utilities for writing tests in Perl
libtest-spec-perl_0.47-1_all.deb Perl module to write tests in a declarative specification style
libtest-spelling-perl_0.20-1_all.deb Perl module for spellchecking pod formatted text
libtest-strict-perl_0.25-1_all.deb test module for checking the syntax of use strict and test coverage
libtest-subcalls-perl_1.09-2_all.deb Perl module to count subroutine calls
libtest-synopsis-perl_0.11-2_all.deb Perl module to test SYNOPSIS code in PODs
libtest-tabledriven-perl_0.02-1_all.deb write tests, not scripts that run them
libtest-tabs-perl_0.005-1_all.deb check the presence of tabs in your project
libtest-taint-perl_1.06-1+b2_amd64.deb Module to test taintedness
libtest-tcp-perl_2.06-1_all.deb module to test TCP/IP programs
Advertisement
Advertisement