Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Perl Modules

    Test::LectroTest 0.3600

    Download button

    No screenshots available
    Downloads: 334  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Tom Moertel | More programs
    Perl Artistic License / FREE
    February 21st, 2007, 20:05 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Test::LectroTest description

    A Perl module with easy, automatic, specification-based tests.

    Test::LectroTest is a Perl module with easy, automatic, specification-based tests.

    SYNOPSIS

    #!/usr/bin/perl -w

    use MyModule; # contains code we want to test
    use Test::LectroTest;

    Property {
    ##[ x "my_function output is non-negative" ;

    Property { ... }, name => "yet another property" ;

    # more properties to check here


    This module provides a simple (yet full featured) interface to LectroTest, an automated, specification-based testing system for Perl. To use it, declare properties that specify the expected behavior of your software. LectroTest then checks your software to see whether those properties hold.
    Declare properties using the Property function, which takes a block of code and promotes it to a Test::LectroTest::Property:

    Property {
    ##[ x "my_function output is non-negative" ;

    The first part of the block must contain a generator-binding declaration. For example:

    ##[ x


    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    automatic tests | specification-based tests | Perl module | Test | automatic | specification-based

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM