Updated Groovy version, changed StubTrigger name
This commit is contained in:
@@ -13,8 +13,8 @@
|
||||
- now all DSL files have to be under `contractsDslDir`/*subpackage* resulting in `basePackageForTests`.*subpackage* test package creation
|
||||
- If you don't migrate to the new approach you will have your tests under `contractsDslDir`.`contractsDslDir`.*subpackage*
|
||||
|
||||
=== Migration to 1.0.7
|
||||
- from 1.0.7 we're setting JUnit as a default testing utility. You have to pass the following option to keep Spock
|
||||
=== Migration to {messaging_version}
|
||||
- from {messaging_version} we're setting JUnit as a default testing utility. You have to pass the following option to keep Spock
|
||||
as your first choice:
|
||||
|
||||
[source,groovy]
|
||||
|
||||
@@ -16,7 +16,7 @@ To trigger a message it's enough to use the `StubTiggerer` interface:
|
||||
|
||||
[source,groovy]
|
||||
----
|
||||
include::../../../../stub-runner/stub-runner/src/main/groovy/io/codearte/accurest/stubrunner/StubTriggerer.groovy[]
|
||||
include::../../../../stub-runner/stub-runner/src/main/groovy/io/codearte/accurest/stubrunner/StubTrigger.groovy[]
|
||||
----
|
||||
|
||||
For convenience the `StubFinder` interface extends `StubTrigger` so it's enough to use only one in your tests.
|
||||
|
||||
Reference in New Issue
Block a user