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

Test-Assert-0.03.tar.gz

Homepage:-
Package version:-
Architecture:-
Distribution:Perl-CPAN
Filename:Test-Assert-0.03.tar.gz

/Test-Assert-0.03/README

NAME
    Test::Assert - Assertion methods for those who like JUnit.

SYNOPSIS
      # Use as base class
      package My::TestMethod;
      use base 'Test::Assert';
      sub test_method {
        my $self = shift;
        $self->assert_true(1, "pass");
        $self->assert_true(0, "fail");
      }

      # Use as imported methods
      package My::Test;
      use Test::Assert ':all';
      asser
more»

/Test-Assert-0.03/Changes

------------------------------------------------------------------------
0.03 | Piotr Roszatycki <dexter@debian.org> | 2008-12-10

New:

* Test::Assert::DEBUG is true if Test::Assert is used in main package.
* DEBUG constant can be exported.

  package My::Class;
  use Test::Assert ':all', 'DEBUG';
  assert_true( 0 ) if DEBUG;

* New method "assert_isa".

  my $obj = My::Class->new;
  assert_isa( 
more»

Browse inside Test-Assert-0.03.tar.gz

         [DIR]Test-Assert-0.03/ (11)

Download Test-Assert-0.03.tar.gz

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