he book, Next Generation Java Testing: TestNG and Advanced Concepts
, provides pragmatic and results-focused approaches that help enterprise Java developers build more robust code for today's mission-critical environments.
Enterprise Java developers must achieve broader, deeper test coverage, going beyond unit testing to implement functional and integration testing with systematic acceptance. Next Generation Java Testing introduces breakthrough Java testing techniques and TestNG, a powerful open source Java testing platform.
The authors present powerful, flexible testing patterns that will work with virtually any testing tool, framework, or language. They show you how to leverage key Java platform improvements designed to facilitate effective testing, such as dependency injection and mock objects. The authors also thoroughly introduce TestNG, demonstrating how it overcomes the limitations of older frameworks and enables new techniques, making it far easier to test today's complex software systems.
The "Enterprise Testing" sample chapter provides two definitions of enterprise as a foundation for discussing testing issues. It then illustrates concepts around enterprise integration and functional testing by way of a typical enterprise scenario's testing methodology, goals, and implementation as well as other approaches.
Download this sample chapter in PDF format (830 KB).
Reproduced from Next Generation Java Testing: TestNG and Advanced Concepts by permission of Addison-Wesley. ISBN-13: 9780321503107/ISBN-10: 0321503104, copyright 2008. All rights reserved.