perl-Test-Assertions-1.54.0-3-rosa.lts2012.0.noarch.rpm


Advertisement

Description

perl-Test-Assertions - Base for test scripts

Distribution: ROSA Enterprise Desktop
Repository: ROSA Contrib Updates x86_64
Package name: perl-Test-Assertions
Package version: 1.54.0
Package release: 3-rosa.lts2012.0
Package architecture: noarch
Package type: rpm
Installed size: 48.84 KB
Download size: 28.31 KB
Official Mirror: mirror.rosalab.ru
Test::Assertions provides a convenient set of tools for constructing tests, such as unit tests or run-time assertion checks (like C's ASSERT macro). Unlike some of the Test:: modules available on CPAN, Test::Assertions is not limited to unit test scripts; for example it can be used to check output is as expected within a benchmarking script. When it is used for unit tests, it generates output in the standard form for CPAN unit testing (under Test::Harness). The package's import method is used to control the behaviour of ASSERT: whether it dies, warns, prints 'ok'/'not ok', or does nothing. In 'test' mode the script also exports plan(), only() and ignore() functions. In 'test/ok' mode an ok() function is also exported for compatibility with Test/Test::Harness. The plan function attempts to count the number of tests if it isn't told a number (this works fine in simple test scripts but not in loops/subroutines). In either mode, a warning will be emitted if the planned number of tests is not the same as the number of tests actually run, e.g.

Alternatives

Provides

  • perl(Test::Assertions) == 1.540.0
  • perl(Test::Assertions::TestScript) == 1.180.0
  • perl-Test-Assertions == 1.54.0-3:2012.0

    Install Howto

    1. Enable ROSA Contrib Updates repository on Install and Remove Software"
    2. Update packages list:
      # urpmi.update -a
    3. Install perl-Test-Assertions rpm package:
      # urpmi perl-Test-Assertions

    Files

    • /usr/lib/perl5/vendor_perl/5.12.3/Test/Assertions.pm
    • /usr/lib/perl5/vendor_perl/5.12.3/Test/Assertions/Manual.pod
    • /usr/lib/perl5/vendor_perl/5.12.3/Test/Assertions/TestScript.pm
    • /usr/share/doc/perl-Test-Assertions/Changes
    • /usr/share/doc/perl-Test-Assertions/README
    • /usr/share/man/man3/Test::Assertions.3pm.xz
    • /usr/share/man/man3/Test::Assertions::Manual.3pm.xz
    • /usr/share/man/man3/Test::Assertions::TestScript.3pm.xz

    Changelog

    2011-04-25 - Funda Wang <fwang@mandriva.org> 1.54.0-3mdv2011.0 + Revision: 658885 - rebuild for updated spec-helper

    2010-07-13 - J?r?me Quelin <jquelin@mandriva.org> 1.54.0-2mdv2011.0 + Revision: 552179 - rebuild

    2009-07-10 - J?r?me Quelin <jquelin@mandriva.org> 1.54.0-1mdv2010.0 + Revision: 394298 - import perl-Test-Assertions

    2009-07-10 - cpan2dist 1.054-1mdv - initial mdv release, generated with cpan2dist

    Advertisement
    Advertisement