You are previewing JUnit in Action, Second Edition.

JUnit in Action, Second Edition

Cover of JUnit in Action, Second Edition by Petar Tahchiev... Published by Manning Publications
O'Reilly logo

Chapter 15. Testing JSF applications

The first 90% of the code accounts for the first 10% of the development time. The remaining 10% of the code accounts for the other 90% of the development time.

Tom Cargill

This chapter covers

  • The problems of testing JSF applications
  • Mock solution of the problems
  • JSF unit/integration testing using JSFUnit
  • JSF performance testing with JSFUnit

The Cactus framework we introduced in chapter 14 is great for testing most of the Java EE specifications. On a daily basis, the majority of Java developers write Java EE applications, all of which are based on the Java EE spec.

In this chapter we take a closer look at the newest member of the Java EE spec—the JavaServer Faces (JSF) technology. It’s a standard specification ...

The best content for your career. Discover unlimited learning on demand for around $1/day.