List of Figures

 

Chapter 5. Working with test data

Figure 5.1. Setting system property arguments in Eclipse’s JUnit Run wizard

Figure 5.2. A top-level test-data directory in a project on Windows XP

Chapter 6. Running JUnit tests

Figure 6.1. Swing-based test runner; left: one test error with a red bar; right: all tests pass with a green bar

Figure 6.2. A sample test execution report created by Ant’s <junitreport> task.

Chapter 7. Reporting JUnit results

Figure 7.1. junit.logswingui.TestRunner showing the Protocol button on the right

Figure 7.2. The Log4Unit Test Protocol dialog box, showing log statements and test summary information

Chapter 9. Testing and XML

Figure 9.1. Testing a web page by converting it to XML.

Chapter 11. Testing Enterprise JavaBeans

Figure 11.1. Implement MailService differently for tests and for production

Figure 11.2. A layered approach to sending a JMS message

Chapter 12. Testing web components

Figure 12.1. Changing the design to encapsulate session data in a model object

Chapter 13. Testing J2EE applications

Figure 13.1. Page flow diagram