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, ...

Get Next Generation Java™ Testing: TestNG and Advanced Concepts now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.