19 Commits

Author SHA1 Message Date
Marcin Grzejszczak
cf4131ad17 Added Circle CI 2.0 support 2017-07-18 10:26:45 +02:00
Marcin Grzejszczak
af634bc403 fixing heap space 2017-07-17 23:30:22 +02:00
Marcin Grzejszczak
db51f1339e Lowering memory usage for circleci 2017-07-17 23:10:32 +02:00
Marcin Grzejszczak
d6f2227f89 Referencing request from response (#238)
The best situation is to provide fixed values but sometimes you need to reference a request in your response. In order to do this you can profit from the fromRequest() method that allows you to reference a bunch of elements from the HTTP request. You can use the following options:

- `fromRequest().url()` - return the request URL
- `fromRequest().query(String key)` - return the first query parameter with a given name
- `fromRequest().query(String key, int index)` - return the nth query parameter with a given name
- `fromRequest().header(String key)` - return the first header with a given name
- `fromRequest().header(String key, int index)` - return the nth header with a given name
- `fromRequest().body()` - return the full request body
- `fromRequest().body(String jsonPath)` - return the element from the request that matches the JSON Path

fixes #237
2017-03-02 10:14:10 +01:00
Marcin Grzejszczak
dcdb7e7f65 Added flaky test support :/ 2016-11-10 13:39:34 +01:00
Marcin Grzejszczak
5d3e99874f Added options to pass props via @AutoConfigureStubRunner (#61)
* Added options to pass props via @AutoConfigureStubRunner

it's much easier to pass props via the annotation instead of property files. With this change the user can provide the properties inside the test via the annotation. The only thing that has to be passed via props is repositoryRoot (typically it's a very constant property that you set once).

fixes #46
2016-08-24 16:14:10 +02:00
Marcin Grzejszczak
a881fc449d Trying to fix code coverage 2016-08-12 15:09:22 +02:00
Marcin Grzejszczak
24c0de9b80 Removed jacoco from circleci build 2016-08-12 11:34:22 +02:00
Marcin Grzejszczak
82302ae721 Fixed Contract build 2016-08-12 10:46:36 +02:00
Marcin Grzejszczak
6163d04169 Trying to fix build 2016-08-09 16:38:14 +02:00
Marcin Grzejszczak
1ae65c51c6 Trying to fix build 2016-08-09 16:02:47 +02:00
Marcin Grzejszczak
0a31683bfe Trying to fix build 2016-08-09 15:14:07 +02:00
Dave Syer
f3fa74ab00 Combine jacoco with gradle build 2016-07-28 13:39:32 +01:00
Marcin Grzejszczak
ad889ee6d2 Updated CircleCI 2016-07-28 11:29:19 +02:00
Marcin Grzejszczak
65eaba0b23 Updated codecov for Gradle 2016-07-15 15:38:13 +02:00
Marcin Grzejszczak
8752cf2324 Added codecov integration 2016-07-14 23:46:04 +02:00
Marcin Grzejszczak
c76de73f3f Fixed CircleCI caching 2016-07-12 13:32:34 +02:00
Marcin Grzejszczak
ebf8dd4b67 Bumping WireMock to 2.1.7 (#27)
* Bumping WireMock to 2.1.7
* Added samples to the project
* Updated docs

fixes #26, #7
2016-07-12 13:06:42 +02:00
Marcin Grzejszczak
1280452a9d Added Circle CI integration 2016-07-11 18:00:18 +02:00