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

Appendix A. IDE Integration

This appendix includes a couple of guides for integrating TestNG into the two most popular Java IDEs: Eclipse and JetBrains’ IDEA. Both guides are a walkthrough starting from plug-in installation, moving through usage, and finally discussing other plug-in features such as refactoring support and any other TestNG-specific conveniences they add. TestNG has plug-ins for some of the other popular IDEs, but unfortunately, at the time of writing, none are as mature as the two we discuss here.

Eclipse

The TestNG Eclipse plug-in allows you to run TestNG tests from inside Eclipse in a convenient way. It leverages standard Eclipse functionalities (Quick Fixes, launch configuration, and so on) to make it easy to implement, run, ...

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