libtest-roo-perl 1.004-2 source package in Ubuntu
Changelog
libtest-roo-perl (1.004-2) unstable; urgency=medium [ Salvatore Bonaccorso ] * Update Vcs-Browser URL to cgit web frontend * debian/control: Use HTTPS transport protocol for Vcs-Git URI [ gregor herrmann ] * debian/copyright: change Copyright-Format 1.0 URL to HTTPS. [ Salvatore Bonaccorso ] * Update Vcs-* headers for switch to salsa.debian.org [ gregor herrmann ] * debian/watch: use uscan version 4. [ Debian Janitor ] * Remove constraints unnecessary since stretch: + Build-Depends-Indep: Drop versioned constraint on libcapture-tiny-perl, libmoo-perl, libtest-simple-perl and perl. + libtest-roo-perl: Drop versioned constraint on libmoo-perl, libtest-simple-perl and perl in Depends. -- Jelmer Vernooij <email address hidden> Tue, 28 Jun 2022 19:30:53 +0100
Upload details
- Uploaded by:
- Debian Perl Group
- Uploaded to:
- Sid
- Original maintainer:
- Debian Perl Group
- Architectures:
- all
- Section:
- misc
- Urgency:
- Medium Urgency
See full publishing history Publishing
Series | Published | Component | Section | |
---|---|---|---|---|
Oracular | release | universe | misc | |
Noble | release | universe | misc | |
Mantic | release | universe | misc | |
Lunar | release | universe | misc |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
libtest-roo-perl_1.004-2.dsc | 2.2 KiB | 1a6c8dd65e210ff0f36d85e6b624a8b901e02f15679807bbdd869b8688325281 |
libtest-roo-perl_1.004.orig.tar.gz | 29.0 KiB | 21129a3cecb507b00948e16cf15fcde5dc4db235aba84afd7f47d22013a9ded6 |
libtest-roo-perl_1.004-2.debian.tar.xz | 2.7 KiB | 2093d501e99127844019559f759c7b251efc1a8be5b5047f7b1145442b0e3506 |
Available diffs
- diff from 1.004-1.1 to 1.004-2 (1.4 KiB)
No changes file available.
Binary packages built by this source
- libtest-roo-perl: module for composable, reusable tests with roles and Moo
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.