Writing an Automated Test

15

 

To Create a Simple Automated Test 16

Building an Updated Simple Test Suite

19

To Build an Updated Test Suite

19

Testing an Updated Simple Test Suite

20

To Test an Updated Test Suite

20

3. Test Suite Construction

23

 

 

Test Suite Structure

23

 

 

 

testsuite.jtt File

24

 

lib Directory

 

25

 

 

 

tests Directory

25

 

 

 

 

Test Class

26

 

 

 

 

Test Case

26

 

 

 

 

Test Description file

27

 

classes Directory

27

 

 

doc Directory

28

 

 

 

Creating a Test Suite Configuration Interview 28

To Create a Configuration Interview Through the Interview Class 29

Building a Test Suite

40

 

 

 

4.Writing Tests 41

Testing Devices With Automated Tests 41

Automated Test Execution 42

Testing Communications or Networking With Distributed Tests 43

Client Test Component

43

Remote Test Component

44

Test Description for Distributed Tests 44

Required Distributed Test Keyword 44

iv Java ME TCK Framework Developer’s Guide • July 2007

Page 4
Image 4
Sun Microsystems 1.2 manual Test Suite Construction, Writing Tests