What is TestNG in Eclipse?
When you create Maven Project , Add TestNG dependency in POM file indetify the testng class in Compilation Time. However to execute Java Class as TestNG Test file, to exeucte testng suite xml file , you need install TestNG plugin for Eclipse.You can search TestNG in eclipse marketplace and install the latest version.