As we discussed in Chapter 1, LabWizard is tested in three phases:
Unit tests of individual classes.
Function tests of complete applications.
In Chapters 4 to 11, we developed techniques for unit testing user interfaces. In Chapters 12 to 16, we concentrated on the unit testing of server-side classes. To write function tests, we need to make use of the tools and techniques from these two strands. In this chapter, we will show how this can be done, using some LabWizard function tests as examples. The examples we have chosen run LabWizard clients and the LabWizard server in separate JVMs and simulate a laboratory information system, so they are relatively complex tests.
Before delving into the examples, we will ...