Filewatcher File Search File Search
Catalog
Content Search
» » » » » »

Test-Trivial-1.7.tar.gz

Homepage:-
Package version:-
Architecture:-
Distribution:Perl-CPAN
Filename:Test-Trivial-1.7.tar.gz

/Test-Trivial-1.7/README

NAME
    Test::Trivial - Declutter and simplify tests

SYNOPSIS
        use Test::Trivial tests => 11;
    
        OK $expression;
        NOK $expression;
        IS $got => $expected;
        ISNT $got => $expected;
        ISA $obj => $class;
        ID $refA => $refB;
        EQ $numA => $numB;
        LIKE $got => qr/regex/;
        UNLIKE $got => qr/regex/;
        IS ERR { die "OMG No!\n" 
more»

/Test-Trivial-1.7/CHANGES

====================== CHANGELOG ======================
Version 1.7
- Fix licence as per Module::Build::API - Sandip Bhattacharya

Version 1.6_01
- minor doc change
- update t/isa.t for older perl

Version 1.6
- added perldoc documentation

Version 1.5.6
- guard against someone tweaking $/

Version 1.5.5
- fix potential infinate loop in text_to_line

Version 1.5.4
- fix IS diagnostics for strings 
more»

/Test-Trivial-1.7/t/todo.t

#!/usr/bin/perl
use File::Basename qw(dirname);
use lib dirname($0)."/../lib";

use strict;
use warnings;
use Test::Trivial tests => 9;

    TODO OK 1 == 2;
    # output:
    # # Time: 2012-02-28 04:39:55 PM
    # ./example.t:1:6: Test 1 Failed
    # not ok 1 - 1 == 2 # TODO Test Know to fail
    # #   Failed (TODO) test '1 == 2'
    
    TODO NOK 1 == 1;
    # output:
    # # Time: 2012-02-28 04:
more»

/Test-Trivial-1.7/LICENSE.TXT

The Artistic License
August 15, 1997
Preamble
The intent of this document is to state the condition
more»

Browse inside Test-Trivial-1.7.tar.gz

         [DIR]Test-Trivial-1.7/ (10)

Download Test-Trivial-1.7.tar.gz

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2016 FileWatcher.com