Sun Microsystems 1.2 Telephone Accessories User Manual


 
23
CHAPTER
3
Test Suite Construction
This chapter describes the organization and construction of a Java ME technology
test suite that uses Framework resources. Additional information about constructing
test suites for use with the JavaTest harness can be located in Chapters 4 and 8 of the
JavaTest Architect’s Guide.
This chapter contains the following sections:
Test Suite Structure
Creating a Test Suite Configuration Interview
Building a Test Suite
Test Suite Structure
Test suites are the main unit of test development and deployment. A test suite is a
self-contained collection of tests designed to test a major feature or a major subset of
an API or a profile. When architects and developers define the contents and
structure of a test suite, they should group tests that use the same test setup to
interact with the test device. Grouping tests in this way enables users to run all tests
in the test suite without changing the test setup.
For example, tests for a profile might be divided into two types. One type of test
exercises the technology’s API implemented on the test device. The other type of test
exercises the technology implementation’s interaction with an Over the Air (OTA)
server. Because the test setup for these two kinds of tests is substantially different,
the architect and developer might group these tests into two independently run test
subsets to make them easier for the user to configure and run.
The top-level test suite directory generally contains the following files and
directories:
testsuite.jtt file