perl-Test-Conditions - test multiple conditions across a large data structure or list in a simple and compact way

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package filename perl-Test-Conditions-0.83-alt1.noarch.rpm
Package name perl-Test-Conditions
Package version 0.83
Package release alt1
Package architecture noarch
Package type rpm
Category Development/Perl
Homepage -
License -
Maintainer -
Download size 35.12 KB
Installed size 35.12 KB
The purpose of this module is to facilitate testing complex data structures such as trees, lists
of hashes, results of database queries, etc. You may want to run certain tests on each node or
row, and report the results in a compact way.  You might, for example, wish to test a list or
other structure with 1,000 nodes and report the result as a single test rather than multiple
thousands of individual tests. This module provides a far more flexible approach than the
`is_deeply' method of the Test::More manpage.
An object of class Test::Conditions can keep track of any number of conditions, and reports a
single event when its `ok_all' method is called. Under the most common usage, the test fails if
one or more conditions are flagged, and succeeds if none are.  Each condition which has been flagged
is reported as a separate diagnostic message.  Futhermore, if the nodes or other pieces of the
data structure have unique identifiers, you can easily arrange for Test::Conditions to report the
identifier of one of the failing nodes to help you in diagnosing the problem.


Package Version Architecture Repository
perl-Test-Conditions - - -


Name Value
/usr/share/perl5 -
perl(Scalar/ -
perl(Test/ -
rpmlib(PayloadIsLzma) -


Name Value
perl(Test/ = 0.830
perl-Test-Conditions = 0.83-alt1


Type URL
Binary Package perl-Test-Conditions-0.83-alt1.noarch.rpm
Source Package perl-Test-Conditions-0.83-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    rpm [Sisyphus] noarch autoimports
    rpm [Sisyphus] noarch autoimports
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Test-Conditions rpm package:
    # sudo apt-get install perl-Test-Conditions



See Also

Package Description
perl-Test-Config-System-0.63-alt1.noarch.rpm System configuration related unit tests
perl-Test-Consul-0.013-alt1.noarch.rpm Run a consul server for testing
perl-Test-Continuous-0.76-alt1.noarch.rpm Run your test suite continuously when developing
perl-Test-Continuous-scripts-0.76-alt1.noarch.rpm Test-Continuous scripts
perl-Test-Cookbook-0.05.2-alt1.noarch.rpm Write your tests as cookbooks
perl-Test-Core-0.0200-alt1.noarch.rpm Modern Perl testing with a single import
perl-Test-Corpus-Audio-MPD-1.120990-alt3_9.noarch.rpm Automate launching of fake mdp for testing purposes
perl-Test-Count-0.1000-alt1_1.noarch.rpm A standalone command line
perl-Test-Crontab-Format-0.02-alt1.noarch.rpm Check crontab format validity
perl-Test-Cucumber-Tiny-0.64-alt1.noarch.rpm Cucumber Testing Framework
perl-Test-Cukes-0.10-alt1.noarch.rpm A BBD test tool inspired by Cucumber
perl-Test-DB-Shared-0.004-alt1.noarch.rpm Share DB cluster instance accross processes for faster tests
perl-Test-DBIC-0.01003-alt1.noarch.rpm Facilitates Automated Testing for DBIx::Class
perl-Test-DBIC-ExpectedQueries-1.011-alt1.noarch.rpm Test that only expected DBIx::Class queries are run
perl-Test-DBIC-SQLite-0.01-alt1.noarch.rpm Connect and deploy a DBIx::Class::Schema on SQLite