use of org.opennms.netmgt.junit.runner.SeleniumComputer in project opennms by OpenNMS.
the class GroovyRunnerTest method testCustomJUnitRunnerWithComputer.
@Test
public void testCustomJUnitRunnerWithComputer() throws CompilationFailedException, IOException {
String filename = "src/test/resources/groovy/GroovyRunnerTest.groovy";
Computer computer = new SeleniumComputer("http://www.papajohns.co.uk");
Result result = runJunitTestWithComputer(computer, getGroovyClass(filename));
assertEquals(0, result.getFailureCount());
}
Aggregations