readme about running stubs
[ci skip]
This commit is contained in:
10
README.md
10
README.md
@@ -16,15 +16,23 @@ For more information please go to the [Accurest Wiki](https://github.com/Codeart
|
||||
|
||||
|
||||
|
||||
Accurest Runner
|
||||
Accurest Stub Runner
|
||||
---
|
||||
|
||||
Run contracts from current directory:
|
||||
|
||||
mvn io.codearte.accurest:accurest-maven-plugin:run
|
||||
|
||||
or shortly <sup>*</sup>
|
||||
|
||||
mvn accurest:run
|
||||
|
||||
Running stubs from repository:
|
||||
|
||||
mvn accurest:run -Dstubs="org.springframework:gs-rest-service"
|
||||
|
||||
where `org.springframework:gs-rest-service` is artifact with 'stubs` classifier contains wiremock mappings.
|
||||
|
||||
---
|
||||
|
||||
<sup>*</sup> Additional configuration inside `~/.m2/settings.xml` is required.
|
||||
|
||||
Reference in New Issue
Block a user