Paquet : libtest-roo-perl (1.004-1.1)
Liens pour libtest-roo-perl
Ressources Debian :
- Rapports de bogues
- Developer Information
- Journal des modifications Debian
- Fichier de licence
- Suivis des correctifs pour Debian
Télécharger le paquet source libtest-roo-perl :
- [libtest-roo-perl_1.004-1.1.dsc]
- [libtest-roo-perl_1.004.orig.tar.gz]
- [libtest-roo-perl_1.004-1.1.debian.tar.xz]
Responsables :
Ressources externes :
- Page d'accueil [metacpan.org]
Paquets similaires :
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.
Autres paquets associés à libtest-roo-perl
|
|
|
|
-
- dep: libmoo-perl (>= 1.000008)
- Minimalist Object Orientation library (with Moose compatibility)
-
- dep: libmoox-types-mooselike-perl
- module providing some Moosish types and a type builder
-
- dep: libstrictures-perl
- Perl module to turn on strict and make all warnings fatal
-
- dep: libsub-install-perl
- module for installing subroutines into packages easily
-
- dep: perl
- langage de rapports et d'extractions pratiques de Larry Wall
-
- dep: perl (>= 5.13.4)
- langage de rapports et d'extractions pratiques de Larry Wall
- ou libtest-simple-perl (>= 0.96)
- set of basic utilities for writing tests in Perl
-
- rec: libbareword-filehandles-perl
- directive Perl pour désactiver les descripteurs de fichier avec un nom sans guillemets
-
- rec: libindirect-perl
- module warning about using the indirect object syntax
-
- rec: libmultidimensional-perl
- Perl pragma to disable multidimensional array emulation
Télécharger libtest-roo-perl
Architecture | Taille du paquet | Espace occupé une fois installé | Fichiers |
---|---|---|---|
all | 30,1 ko | 95,0 ko | [liste des fichiers] |