Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your mobile phone number.
Other Sellers on Amazon
+ Free Shipping
TestNG Beginner's Guide Paperback – July 26, 2013
|New from||Used from|
Frequently bought together
Customers who bought this item also bought
About the Author
If you buy a new print edition of this book (or purchased one in the past), you can buy the Kindle edition for only $2.99 (Save 82%). Print edition purchase must be sold by Amazon. Learn more.
For thousands of qualifying books, your past, present, and future print-edition purchases now lets you buy the Kindle edition for $2.99 or less. (Textbooks available for $9.99 or less.)
Browse award-winning titles. See more
Top customer reviews
Chapter one gives a brief introduction about testing and test automation. How to get started with TestNG, where to get it from and how to integrate it into your favorite IDE. Eclipse is used throughout the book. Chapter two deals with the basic configuration and introduces test suites and the command prompt usage. It also adds a couple of tests for packages, classes and methods. Chapter three is all about annotations. Setup and destroy, disabling tests and how to use parameterization. Test groups are introduced in chapter four followed by adding dependencies in chapter five. Chapter six and seven deal with the factory annotation and parallelism in tests. Chapter eight gives an overview about build tool integration covering Ant and Maven. Logging and reporting about test runs is covered in chapter nine. Programmatic test creation is covered in chapter ten. A basic migration scenario is covered in chapter 11. The closing chapter deals with the differences between unit and functional testing and explains additional concepts like JMock, Mockito and how to use Selenium.
Writing and Style
Generally the instructions are clear and the screen-shots are helpful. The overall level of detail and mixed in complexity is appropriate. Overall an easy read and well structured. Great for beginners and even developers familiar with the topic could still use it as a reference.
Conclusion and recommendation
The book is aimed at introducing developers to TestNG. It uses numerous screenshots and code listings to introduce core features and only requires basic Java and probably JUnit knowledge. The book is aimed at Java developers who are unfamiliar with TestNG. If you're completely new to testing and TestNG in particular it is worth a read. One trade off is the very basic style of the examples. Additionally it does not tell you about why to use that feature or when to use another.
TestNG is a fundamental tool for software developers who want to obtain a good quality for the software through a powerful and versatile test environment.
TestNG Beginner's Guide is a great book. It treats not only the TestNG tool itself, but explains some important basis of the testing phase in the software development cycle.
The topic is well explained, with a clear language and a very good book organization. All the practice activities are explained step by step, with the correct quantity of images, so you don't need to know JUnit to experiment TestNG quickly.
I decided to adopt TestNG for a project I'm working on and through this book I rapidly built a good test suite, and experimented all the advantages of TestNG.