Show/Hide Toolbars

Unit Test Framework Manual

Navigation: » No topics above this level «

Appendix A: Unit Test Framework Classes

Scroll Prev Top Next More

The table below lists the files in unittest_X_XX.zip:

 

File

Description

AssertException

This class provides a catchable exception used by the Test Case class to differentiate between a test failure and an application error.

Behavior

The Behavior annotation

Context

The Context annotation

CsvWriter

The class the produces the CSV file

FileHandler

Parent class of subclasses that manipulate files

NotImplemented

The NotImplemented annotation

ReportTestsTest

Test case for testing the test report

Requirement

The Requirement annotation

RunTest

This class provides a WS-I web service to execute a test suite from outside Studio.

SampleTestCase

This class is an example of a test case.

SampleTestSuite

This class is is an example of a test suite.

Specification

The Specification annotation

TestCase

This class is the parent class of your test cases.  It contains the assertion methods and other methods used by test cases.

TestCaseInBundle

This class provides execution of tests like TestCase, except that each test is wrapped in a transaction.  A writable bundle is provided through the field testBundle.  

TestCaseResult

This class is used to return results from calling the RunTest web service.

TestData

A data class that supports creation of the test report

TestReporter

The class that generates the test report

TestReportFileWriter

The class that produces the BDD Test Report file

TestSuite

This class is the parent class of test suites.  It contains the addTestCase method used to add a test case class or test suite class to the test suite.

WebServiceTestCase

This class is a unit test case for testing the RunTest class.