[libtest-roo-perl] 04/04: control
gregor herrmann
gregoa at debian.org
Tue Jan 14 18:20:46 UTC 2014
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libtest-roo-perl.
commit af461fd3e4f5141ae36b665e2b5a31eaa559c098
Author: gregor herrmann <gregoa at debian.org>
Date: Tue Jan 14 19:14:49 2014 +0100
control
---
debian/control | 61 ++++++++++++++++++++++++++++++++++++++++++----------------
1 file changed, 44 insertions(+), 17 deletions(-)
diff --git a/debian/control b/debian/control
index 23ab8e9..a33b8bd 100644
--- a/debian/control
+++ b/debian/control
@@ -1,15 +1,19 @@
Source: libtest-roo-perl
-Section: perl
-Priority: optional
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Uploaders: gregor herrmann <gregoa at debian.org>
+Section: perl
+Priority: optional
Build-Depends: debhelper (>= 8)
-Build-Depends-Indep: libcapture-tiny-perl,
- libmoo-perl (>= 1.000008),
- libmoox-types-mooselike-perl,
- libstrictures-perl,
- libsub-install-perl,
- perl (>= 5.13.4)
+Build-Depends-Indep: libbareword-filehandles-perl,
+ libcapture-tiny-perl,
+ libindirect-perl,
+ libmoo-perl (>= 1.000008),
+ libmoox-types-mooselike-perl,
+ libmultidimensional-perl,
+ libstrictures-perl,
+ libsub-install-perl,
+ perl (>= 5.13.4) | libtest-simple-perl (>= 0.96),
+ perl
Standards-Version: 3.9.5
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libtest-roo-perl.git
Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libtest-roo-perl.git
@@ -17,13 +21,36 @@ Homepage: https://metacpan.org/release/Test-Roo
Package: libtest-roo-perl
Architecture: all
-Depends: ${misc:Depends}, ${perl:Depends},
- libmoo-perl (>= 1.000008),
- libmoox-types-mooselike-perl,
- libstrictures-perl,
- libsub-install-perl,
- perl (>= 5.13.4)
-Description: Composable, reusable tests with roles and Moo
- (no description was found)
+Depends: ${misc:Depends},
+ ${perl:Depends},
+ libmoo-perl (>= 1.000008),
+ libmoox-types-mooselike-perl,
+ libstrictures-perl,
+ libsub-install-perl,
+ perl (>= 5.13.4) | libtest-simple-perl (>= 0.96)
+Recommends: libbareword-filehandles-perl,
+ libindirect-perl,
+ libmultidimensional-perl
+Description: 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.
.
- This description was automagically extracted from the module by dh-make-perl.
+ 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.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libtest-roo-perl.git
More information about the Pkg-perl-cvs-commits
mailing list