Breakthrough Java Testing: Easier, Faster, More Powerful, and More Effective Today's Java developers must achieve broader, deeper test coverage, going beyond unit testing to implement systematic acceptance, functional, and integration testing. Using conventional tools like JUnit, this has been difficult or impossible. Next Generation Java® Testing offers a new way forward. It introduces breakthrough Java testing techniques, and a powerful new open source Java testing platform to execute them with: TestNG. Cédric Beust, TestNG's creator, together with leading Java developer Hani Suleiman, introduce powerful, flexible testing patterns that will work with virtually any testing tool, framework, or language. They show how to leverage key Java platform improvements designed to facilitate effective testing, such as dependency injection and mock objects. They also thoroughly introduce TestNG, demonstrating how it overcomes the limitations of older frameworks, making it far easier to test today's complex software systems. Pragmatic and results-focused, Next Generation Java® Testing will help every Java developer build more robust code for today's mission-critical environments.The bookIlluminates the tradeoffs associated with testing, so you can make better decisions about what and how to test Introduces TestNG, explains its goals and features, and shows how to apply them in real-world environments Shows how to integrate TestNG with your existing code, development frameworks, and software libraries Demonstrates how to test crucial code features, such as encapsulation, state sharing, scopes, and thread safety Shows how to test application elements, including databases, Web pages, and XML files Presents advanced techniques: testing partial failures, factories, dependent testing, remote invocation, cluster-based test farms, and more Walks through installing and using TestNG plug-ins for Eclipse and IDEA