Testing has become a crucial component in modern software development processes. As a POJO framework, Seam was designed from the ground up for easy testability. Seam goes beyond and above what other POJO frameworks do when it comes to testing. Seam actually provides its own testing framework based on TestNG, which makes it easy to write automated, out-of-the-container unit and integration tests for Seam applications. In the next two chapters, you learn how easy it is to write test cases for Seam applications. We also explain how to set up a proper testing environment for out-of-the-container testing.