|
作者:Cédric Beust, Hani Suleiman
出版日期:October 25, 2007
出版社:Addison Wesley
页数:512
ISBN:ISBN-10: 0321503104 ISBN-13: 978-0321503107
文件格式:PDF
Product Description
Enterprise Java developers must achieve broader, deeper testcoverage, going beyond unit testing to implement functional andintegration testing with systematic acceptance. Next Generation Java™ Testing introduces breakthrough Java testing techniques and TestNG, a powerful open source Java testing platform.
Cédric Beust, TestNG’s creator, and leading Java developer HaniSuleiman, present powerful, flexible testing patterns that will workwith virtually any testing tool, framework, or language. They show howto leverage key Java platform improvements designed to facilitateeffective testing, such as dependency injection and mock objects. Theyalso thoroughly introduce TestNG, demonstrating how it overcomes thelimitations of older frameworks and enables new techniques, making itfar easier to test today’s complex software systems.
Pragmatic and results-focused, Next Generation Java™ Testing will help Java developers build more robust code for today’s mission-critical environments.
This book
- Illuminates 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 JavaEE APIs, 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
- Contains extensive code examples
Whether you use TestNG, JUnit, or another testing framework, thetesting design patterns presented in this book will show you how toimprove your tests by giving you concrete advice on how to make yourcode and your design more testable.
About the Author
Cédric Beust, a senior software engineer at Google,is an active member of the Java Community Process who has beenextensively involved in the development of the latest Java release. Heis the creator and main contributor to the TestNG project.
Hani Suleiman is CTO of Formicary, a consulting andportal company specializing in financial applications. He is one of twoindividual members who has been elected to the Executive Committee ofthe Java Community Process. |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?注册
×
|