Test::Unit::Exception - unit testing framework exception class River stage two • 13 direct dependents • 19 total dependents

This class is used by the framework to communicate the result of assertions, which will throw an instance of a subclass of this class in case of errors or failures....

MCAST/Test-Unit-0.25 - 15 Oct 2005 23:05:28 GMT

Test::Unit::Assertion::Exception - A assertion for raised exceptions River stage two • 13 direct dependents • 19 total dependents

Although the SYNOPSIS shows how you'd use Test::Unit::Assertion::Exception directly, it is more sensibly used indirectly via "Test::Unit::Test::assert_raises()", which instantiates a "Test::Unit::Assertion::Exception"....

MCAST/Test-Unit-0.25 - 15 Oct 2005 23:05:28 GMT

Test::Unit::UnitHarness - unit testing framework helper class River stage two • 13 direct dependents • 19 total dependents

This is a makeover of Test::Harness to allow its tests to be retrofitted as unit tests....

MCAST/Test-Unit-0.25 - 15 Oct 2005 23:05:28 GMT

Test::Unit::Error - unit testing framework exception class River stage two • 13 direct dependents • 19 total dependents

This class is used by the framework to communicate the occurrence of run-time errors (that is, syntax errors and the like, not failed tests, as the latter are classified as failures) generated by user code. When such an error occurs, an instance of t...

MCAST/Test-Unit-0.25 - 15 Oct 2005 23:05:28 GMT

Test::Unit::Result - unit testing framework helper class River stage two • 13 direct dependents • 19 total dependents

This class is used by the framework to record the results of tests, which will throw an instance of a subclass of Test::Unit::Exception in case of errors or failures. To achieve this, this class gets called with a test case as argument. It will call ...

MCAST/Test-Unit-0.25 - 15 Oct 2005 23:05:28 GMT

Test::Unit::Setup - unit testing framework helper class River stage two • 13 direct dependents • 19 total dependents

A Decorator to set up and tear down additional fixture state. Subclass Setup and insert it into your tests when you want to set up additional state once before the tests are run....

MCAST/Test-Unit-0.25 - 15 Oct 2005 23:05:28 GMT

Test::Unit::Failure - unit testing framework exception class River stage two • 13 direct dependents • 19 total dependents

This class is used by the framework to communicate the result of assertions, which will throw an instance of this class in case of failures (that is, failed tests, not syntax errors and the like, these are classified as errors)....

MCAST/Test-Unit-0.25 - 15 Oct 2005 23:05:28 GMT

Test::Unit::Assert - unit testing framework assertion class River stage two • 13 direct dependents • 19 total dependents

This class contains the various standard assertions used within the framework. With the exception of the "assert(CODEREF, @ARGS)", all the assertion methods take an optional message after the mandatory fields. The message can either be a single strin...

MCAST/Test-Unit-0.25 - 15 Oct 2005 23:05:28 GMT

Test::Unit::Listener - unit testing framework abstract base class River stage two • 13 direct dependents • 19 total dependents

This class is used by the framework to define the interface of a test listener. It is an abstract base class implemented by the test runners. Due to the nature of the Perl OO implementation, this class is not really needed, but rather serves as docum...

MCAST/Test-Unit-0.25 - 15 Oct 2005 23:05:28 GMT

Test::Unit::TestCase - unit testing framework base class River stage two • 13 direct dependents • 19 total dependents

Test::Unit::TestCase is the 'workhorse' of the PerlUnit framework. When writing tests, you generally subclass Test::Unit::TestCase, write "set_up" and "tear_down" functions if you need them, a bunch of "test_*" test methods, then do $ TestRunner.pl M...

MCAST/Test-Unit-0.25 - 15 Oct 2005 23:05:28 GMT

Test::Unit::Assertion::Regexp - Assertion with regex matching River stage two • 13 direct dependents • 19 total dependents

The class is used by the framework to provide sensible 'automatic' reports when a match fails. The old: $self->assert(scalar($foo =~ /pattern/), "$foo didn't match /.../"); seems rather clumsy compared to this. If the regexp assertion fails, then the...

MCAST/Test-Unit-0.25 - 15 Oct 2005 23:05:28 GMT

11 results (0.037 seconds)