18 lines
496 B
Java
18 lines
496 B
Java
package tests;
|
|
|
|
import org.junit.runner.JUnitCore;
|
|
import org.junit.runner.Result;
|
|
import pages.Recyclebin;
|
|
|
|
public class RunTests {
|
|
|
|
public static void main(String[] args) {
|
|
|
|
Result result = JUnitCore
|
|
.runClasses(NavigationTests.class, SortTests.class, EmailTests.class, Recyclebin.class);
|
|
System.out.println("Total number of tests: " + result.getRunCount());
|
|
System.out.println("Total number of tests failed: " + result.getFailureCount());
|
|
}
|
|
|
|
}
|