datahub/web/test/IntegrationTest.java
Mars Lan e36a40cd65 Generate code coverage reports (#334)
* Add playCoverage task to run code coverage using JaCoco for backend and web.

* Add jacocoTestReport task to run code coverage for testNG-based tests in wherehows-common & metadata-etl.
2017-07-10 09:53:28 -07:00

22 lines
434 B
Java

import org.junit.*;
import play.libs.ws.WS;
import static play.test.Helpers.*;
import static org.fest.assertions.api.Assertions.*;
@Ignore
public class IntegrationTest {
@Test
public void test() {
running(testServer(3333), new Runnable() {
public void run() {
assertThat(WS.url("http://localhost:3333").get().get(1000*60).getStatus()).isEqualTo(OK);
}
});
}
}