I have created a Maven project with Selenium and TestNG. When I try to run the project using a pom file it does not generate TestNG results (test-output folder). But when I try this: testng.xml->(right-click) run as ->TestNG suite, it generates the results.
Any help would be appreciated.