debian/0000755000000000000000000000000012265300413007162 5ustar debian/rules0000755000000000000000000000003612265300413010241 0ustar #!/usr/bin/make -f %: dh $@ debian/control0000644000000000000000000000517312265300413010573 0ustar Source: libtest-roo-perl Maintainer: Debian Perl Group Uploaders: gregor herrmann Section: perl Priority: optional Build-Depends: debhelper (>= 8) 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 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) | 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. . 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. debian/source/0000755000000000000000000000000012265300413010462 5ustar debian/source/format0000644000000000000000000000001412265300413011670 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000024312265300413011033 0ustar libtest-roo-perl (1.002-1) unstable; urgency=low * Initial release (closes: #735318). -- gregor herrmann Tue, 14 Jan 2014 19:25:11 +0100 debian/compat0000644000000000000000000000000212265300413010360 0ustar 8 debian/libtest-roo-perl.examples0000644000000000000000000000001312265300413014117 0ustar examples/* debian/libtest-roo-perl.docs0000644000000000000000000000001512265300413013233 0ustar CONTRIBUTING debian/copyright0000644000000000000000000000331212265300413011114 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Source: https://metacpan.org/release/Test-Roo Upstream-Contact: David Golden Upstream-Name: Test-Roo Files: * Copyright: 2013, David Golden License: Apache-2.0 Files: debian/* Copyright: 2014, gregor herrmann License: Apache-2.0 or Artistic or GPL-1+ License: Apache-2.0 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. . On Debian systems, the complete text of the Apache License, Version 2.0 can be found in `/usr/share/common-licenses/Apache-2.0'. License: Artistic This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License, which comes with Perl. . On Debian systems, the complete text of the Artistic License can be found in `/usr/share/common-licenses/Artistic'. License: GPL-1+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version. . On Debian systems, the complete text of version 1 of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-1'. debian/watch0000644000000000000000000000015512265300413010214 0ustar version=3 https://metacpan.org/release/Test-Roo .*/Test-Roo-v?(\d[\d.-]*)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$