Added Stub Runner, fixes #64
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
package org.test
|
||||
|
||||
@EnableStubRunnerServer
|
||||
class Example {
|
||||
}
|
||||
|
||||
@@ -76,4 +76,11 @@ public class SampleIntegrationTests {
|
||||
output.contains("[/routes || /routes.json],methods=[GET]"));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void stubRunnerSample() throws Exception {
|
||||
String output = this.cli.run("stubrunner.groovy");
|
||||
assertTrue("Wrong output: " + output,
|
||||
output.contains("[/stubs],produces=[application/json]"));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user