Make sure integration still works in CLI

This commit is contained in:
Dave Syer
2013-12-30 11:19:52 +00:00
parent aa2b020660
commit 4cfc7b6ad9
6 changed files with 59 additions and 8 deletions

View File

@@ -121,6 +121,12 @@ public class SampleIntegrationTests {
assertTrue("Wrong output: " + output, output.contains("Hello World"));
}
@Test
public void integrationSample() throws Exception {
String output = this.cli.run("integration.groovy");
assertTrue("Wrong output: " + output, output.contains("Hello, World"));
}
@Test
public void xmlSample() throws Exception {
String output = this.cli.run("runner.xml", "runner.groovy");