title: How to create TestSuite class in TestNG without xml file
body: <p>I Want to run Sanity.java and regression.java together so I've created TestSuite.java in junit and it is working. Now I want create the same using TestNG, plz help me..</p>
  
  <p>Below is my junit framework code:</p>
  
  <pre><code>package com.abc.def;
  
  import org.junit.runner.RunWith;
  import org.junit.runners.Suite;
  
  import com.auto.tests.abc1;
  import com.auto.tests.abc2;
  import com.auto.tests.abc3;
  import com.auto.tests.abc4;
  
  
  @RunWith(Suite.class)
  @Suite.SuiteClasses({abc1.class, abc2.class,abc3.class,abc4.class})
  public class abcTestSuite {
  
  }
  </code></pre>