Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • BackTrack 5 R2
  • Wine 1.4 / 1.5.5
  • Mozilla Firefox 12...
  • Ubuntu 11.04
  • Angry Birds 1.1.2.1
  • Ubuntu 10.04.4 LTS
  • Linux Kernel 3.4
  • Ubuntu Manual 10.10
  • Adobe Flash Player...
  • Pidgin 2.10.4
  • Home > Linux > Programming > Perl Modules

    Test::Tagged 0.01

    Download button

    No screenshots available
    Downloads: 407  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Fair (2.9/5)
    16 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Shawn M Moore | More programs
    Perl Artistic License / FREE
    July 24th, 2008, 13:36 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Test::Tagged description

    Test::Tagged is a Perl module to tag your tests so they can be run selectively.

    Test::Tagged is a Perl module to tag your tests so they can be run selectively.

    SYNOPSIS

    use Test::Tagged qw/IM email/;
    use Test::More tests => 10;
    # ...

    # then run them
    prove -PTagged=im
    prove -PTagged=EMail
    prove

    # or don't run them
    prove -PTagged=web
    prove -PTagged=api,auth

    Tests are often split into many different files. You may have t/oauth.t to test your application's OAuth support, t/rest.t to test your REST API, and so on. This has served us well for a long while.

    Unfortunately things are rarely so cleanly cut. Perhaps your OAuth tests are using your REST API, or your date/time tests are using your IM interface. If you make a change to one part of your system, you of course run your tests to make sure nothing broke.

    But what if your entire test suite takes twenty minutes to run? You must love testing as much as I do! But unfortunately it'd be prohibitively expensive to run tests after every little change. If you can't run your tests after every change, then they've lost a lot of their potency.

    Test::Tagged alleviates this by letting you tag your tests (with as many tags as you want!), then letting you specify which tags to run tests in prove.

    If you're working on your REST API, then you can use prove -PTagged=REST to run all tests with the "REST" tag (which would include t/oauth.t because it uses the REST API).

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    tag tests | REST API | Perl module | test | tagger | REST



    HTML code for linking to this page:


    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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