Package satin.testing

Provides common classes for writing automated tests.

See:
          Description

Sub-Packages
satin.testing.parameters Provides common classes for utilizing the Parameters API.
 

Interface Summary
TestLog This is the public interface for test log files.
 

Class Summary
RestrictorList Identifies a test area.
Test This is an abstract base class for all tests, including Testcase, TestScript, TestGroup and TestSuite.
Testcase This is an abstract base class for testcases.
TestComponent Abstract base class for a component of a test program.
TestGroup A group of Testcases.
TestLogBlock This class represents a block in a TestLog results file.
TestLogInternal This is the internal class for a test results log file.
TestProgram Base class for a test that is independently runnable as a separate program.
TestScript Base class for a test script.
TestStatus Identifies the status of a testcase: whether it has been run, and whether it encountered errors.
TestSuite Base class for a test suite A TestSuite executes one or more TestPrograms.
 

Exception Summary
RestrictorList.BogusRestrictor This exception is thrown to indicate a problem with a restrictor or restrictor list.
TestFailure A generic exception for test failures.
UserError An error that can be blamed on the user (executor of the test script).
 

Package satin.testing Description

Provides common classes for writing automated tests.

Test Architecture

The basic stand-alone executable unit of testing is the TestScript. Writers of automated test scripts override this base class to create a specific test script.

The smallest measurable unit of testing is the Testcase. A test script typically creates and executes some number of testcases. Writers of automated test script override this base class to implement specific tests.

Test scripts and testcases direct their output to a TestLog, which is an object that creates a text file containing the output in a well-defined format that can be read by other test tools as well as by humans.