O'Reilly logo

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

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 1. Getting Started

Here is a short anecdote from one of the authors that we will use in the rest of this chapter to introduce some of the concepts we will develop in this book.

A few years ago, I faced what appeared to be a simple problem: One of the tests of the product I was working on at the time had failed earlier that day, and I had already spent hours trying to locate the problem. I had gone through most of the code base that was being exercised by this test. I had placed numerous breakpoints in various places in my code, but the variables always contained the correct values, and the flow of the code followed the exact path it was supposed to.

I was running out of ideas, and I was slowly coming to the conclusion that if the problem ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required