![]() Similar instructions on using TestNG with Eclipse can be found in the TestNG Eclipse documentation. There are numerous screen snapshots in this Equinox-heavy portion of the chapter. ![]() It demonstrates creating an Eclipse project, associating the TestNG library with the Eclipse project, writing a TestNG-based test class, and executing the TestNG test class in Eclipse. The chapter spends multiple pages and several screen snapshots demonstrating configuration of TestNG within Eclipse via the plugin update site. The chapter describes how to acquire TestNG via download (testng-6.8.jar in the book) and explains five ways it can be run: command line, Eclipse plugin, IntelliJ IDEA plugin, Ant, and Maven. The chapter then introduces TestNG and provides a brief history and overview of the features of that open source unit testing framework. The first chapter of TestNG Beginner's Guide opens with a brief introduction to testing and automated testing. The Preface lists four things needed for getting most use out of TestNG Beginner's Guide: Java JDK, Eclipse, Linux or Windows, "basic knowledge of Java and testing." I have read about and played a little bit with TestNG before, but the vast majority of my Java unit testing experience has been with JUnit.Īuthor Varun Menon opens TestNG Beginner's Guide with the following statement in the Preface, "Currently, TestNG is the most widely used testing framework in the software industry." This is definitely not what I've found in my experience where JUnit has been used far more than TestNG in the different Java projects that I've worked on. I was happy to accept Packt Publishing's invitation to review the recently released (July 2013) book TestNG Beginner's Guide because I welcomed the opportunity to learn more about TestNG.
0 Comments
Leave a Reply. |