Before we write our first TestNG test, we have to create a Java project in Eclipse to add our TestNG test classes.
A Java project is a place which contains Java source code and related files to compile your program. It can be used to maintain your source code and related files for proper management of the files. Let's create a Java project in Eclipse. If you already know how to create a Java project in Eclipse, you can skip this section.