Skip to main content
1 of 2
Tester68
  • 11
  • 1
  • 2

Why dont we use the main() method in TestNG class?

public class Tests{

@Test public void run(){ sop("this is test method 1"); }

}

How will Jvm know about entry point of the program? 🤔

Tester68
  • 11
  • 1
  • 2