O'Reilly logo

Swing Extreme Testing by Tim Lavers, Lindsay Peters

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 17. Function Tests

As we discussed in Chapter 1, LabWizard is tested in three phases:

  • Unit tests of individual classes.

  • Function tests of complete applications.

  • Load tests.

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required