The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

    Test::Unit::Assert - unit testing framework assertion class

SYNOPSIS

    # this class is not intended to be used directly, 
    # normally you get the functionality by subclassing from 
    # Test::Unit::TestCase

    use Test::Unit::TestCase;
   
    # more code here ...
    
    $self->assert($your_condition_here);

DESCRIPTION

    This class is used by the framework to assert boolean conditions
    that determine the result of a given test. Normally, it is not
    used directly, but you get the functionality by subclassing from 
    Test::Unit::TestCase.

AUTHOR

    Copyright (c) 2000 Christian Lemburg, <lemburg@acm.org>.

    All rights reserved. This program is free software; you can
    redistribute it and/or modify it under the same terms as
    Perl itself.

    Thanks go to the other PerlUnit framework people: 
    Brian Ewins, Cayte Lindner, J.E. Fritz, Zhon Johansen.

    Thanks for patches go to:
    Matthew Astley.

SEE ALSO

    - Test::Unit::TestCase
    - Test::Unit::Exception
    - The framework self-testing suite (Test::Unit::tests::AllTests)