Suche books:   





Next Generation Java Testing: TestNG and Advanced Concepts
Cédric Beust, Hani Suleiman

Addison-Wesley Professional, 2007 - 512 pages

average customer review:based on 7 reviews
view larger image
 for more information click here

   highly recommended  highly recommended





so when am I going to learn testng?

This book is not really about testng. it's more about the author's opinions about testing, which are for the most part valid, but I bought this book mostly for the testng part, and I guess I'll have to wait to find something more targeted towards teaching just testng.


A top recommendation.

College-level libraries strong in Java programming guides need NEXT GENERATION JAVA TESTING: unlike many Java programmer's guides, it provides a pragmatic discussion for Java developers interested in building stronger code for applications, and packs in chapters discussing testing methods, tradeoffs associated with testing, applications of testing theory and rules, analysis of partial failures and remote invocation, and more. In-depth and extensive code examples throughout also differentiate NEXT GENERATION JAVA TESTING from competitors, making it a top recommendation.

Diane C. Donovan
California Bookwatch



 for more information click here









 for more information click here


Practical Testing with a very good framework

At last a book that deals with testing applications (in java) that seems to be written by author's who have worked with real life, non trivial projects(TDD with adding two money objects together, anyone?).
This book describes using TestNG along with some advanced TestNG concepts and goes on to show how to use the framework to test out JEE projects. There are also chapters showing the developer how to integrate TestNG with other frameworks (like spring, DBUnit, jwebunit etc) which is useful as this is perhaps the only place where JUnit is better than TestNG. Inspite of the fact that TestNG documentation is pretty good, this book is worthwile buying (even if you use JUnit as your testing tool of choice).
There is useful coding and refactoring advice along the way(also a commentary on TDD), and a miscellaneous chapter of sorts which seems to have been written by Hani and edited by Cedric to remove all profanities!.
I do hope the author's expand the testing enterprise application bits to cover more testing scenarios and examples in later additions.



 for more information click here






Pragmatic Java Testing: TestNG and Author's Rants

This book does a great job of introducing TestNG, showing how to use its features to set up tests for code that (inevitably) depends on various JEE APIs, and how to perform different kinds of testing (browser, database, performance etc).

There are some claims that I found hard to follow: For example, the authors advise against using mock objects to stub out external classes, then later state that servlets are hard to test outside of a container because they depend on a few external classes -- never mind that these are simple to mock out, and that the Spring testing library (which they mention elsewhere) even provides mock implementations for these classes. There are also some minor factual errors that should have been caught in the reviewing process (e.g. contrary to what is claimed, annotations can be inherited).

Then there is the "Digressions" chapter, which, as others have pointed out, should have been posted as a series of blog posts. Instead, there are some areas where more detail could have been provided. e.g. on how groups work in TestNG, or the exact semantics of the parallel test execution options. Now that TestNG has been out for a while and gained a lot of popularity, I'm sure there is also a lot more information on common problems that could be included in a future 2nd edition!



 for more information click here


Very informative and nicely written

Very nicely written keeping real world requirements in mind. Could have had some more examples.


reviews: page 1, 2



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.

Cédric Beust, TestNG's creator, and leading Java developer Hani Suleiman, present 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 and enables new techniques, making it far 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 testIntroduces TestNG, explains its goals and features, and shows how to apply them in real-world environmentsShows 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 safetyShows 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 moreWalks through installing and using TestNG plug-ins for Eclipse, and IDEAContains extensive code examples

Whether you use TestNG, JUnit, or another testing framework, the testing design patterns presented in this book will show you how to improve your tests by giving you concrete advice on how to make your code and your design more testable.




 for more information click here



hot or not?    What's your opinion?     Write a review and share your thoughts!





generation

Star Trek Encyclopedia
The Boomer Bible
Cruise Ship Job In 14 Days: The LASER Strategy for Next Generation ...
Sew Fast Sew Easy : All You Need to Know When You Start to Sew
Red: The Next Generation of American Writers--Teenage Girls--On What ...



concepts

Moo Baa La La La
Dog Heaven
Good Night, Gorilla
The Kissing Hand
Time for Bed (Big Book Edition)



advanced

Advanced Engineering Mathematics, Student Solutions Manual and Study ...
Advanced Nutrition and Human Metabolism
Advanced Health Assessment & Clinical Diagnosis in Primary Care
Advanced Accounting
Fundamentals of Advanced Accounting



search for books
next generation, advanced, concepts, generation, java, next, testing, testng


Impressum / about us


Suche books: