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..
Below is my junit framework 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 {
}