Tuesday 21st June, 2011
9:45am to 11:00am
Web applications are notoriously difficult test, and even though JavaServer Faces (JSF) is an excellent technology, it doesn't necessary make testing easier. If you want to go beyond black box testing, you need access some of the framework's infrastructure in order to write comprehensive integration tests and unit tests. This means that you either need mock/stub objects, or your tests must run inside the container.
In this session, we'll discuss different ways to test JSF applications, starting from outside the box with Selenium, and then moving inward by looking at tools like JSFUnit and Arquillian, as well as complete mock/stub environments like MyFaces-Test. Along the way, we'll discuss the best use cases for these tools, and point out their pros and cons.
Principal Consultant at Virtua, focusing on enterprise architecture, training, development, and mentoring with Java EE, JSF, Web Components, portlets & Liferay. bio from Twitter
Sign in to add slides, notes or videos to this session