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


Advertisement

Description

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

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

    Download

    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

    • /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).

    Advertisement
    Advertisement