You can also manually install TestNG To do so follow the steps below:
Open Eclipse IDE.
Go to " Help" > Eclipse Marketplace.
Then search for" TestNG" in Eclipse Marketplace dialogue.
Look for TestNG for Eclipse and to install click Go to the marketplace.
To complete the installation, follow the prompts.
Restart the Eclipse to apply changes.
The test is now installed and available for use.