Commit Graph

617 Commits

Author SHA1 Message Date
Roman Tsypuk
8532349ebb Fixed issues with ignored() contract-DSL for Junit, JUnit5 and Spock. Added tests. (spring-cloud#1346) (#1347) 2020-03-16 08:25:11 +01:00
Marcin Grzejszczak
d81656551e Merge branch '2.2.x' 2020-02-21 08:29:04 +01:00
François Staudt
d71924307c Fixed issues with ignoredFiles on Junit and Spock; Fixes gh-1326 (#1328) 2020-02-20 18:08:39 +01:00
Marcin Grzejszczak
eeb2d87c14 made junit5 default test generation framework (#1320)
fixes #1249
2020-02-07 13:43:30 +01:00
Marcin Grzejszczak
343e8b477c Working with new stream for the verifier side 2020-01-29 20:26:59 +01:00
Marcin Grzejszczak
403d369b44 Should work 2020-01-29 19:42:14 +01:00
Marcin Grzejszczak
704be942cf Merge branch '2.2.x' 2020-01-28 20:48:41 +01:00
Marcin Grzejszczak
9e02b7c902 Updated Copyrights 2020-01-28 20:00:13 +01:00
Marcin Grzejszczak
f946ad6704 Updates to Boot 2.3.0 and Ilford release train
Removes ribbon and updates for boot 2.3.0
2020-01-27 12:05:04 +01:00
Marcin Grzejszczak
de9d0c517f Fixes support for a single function stream apps; fixes gh-1314 2020-01-24 12:01:35 +01:00
abialas
d6098bbf2d Fix StackOverflow exception when stubTrigger runs contract with body based on json file (#1311)
* Fix StackOverflow exception when stubTrigger runs contract with body based on json file

* Add test for extracting body value from json file

* Extract value from file to map only in case file content is String
2020-01-24 09:49:15 +01:00
Spencer Gibb
f849dc40c9 Replaces deprecations 2020-01-22 17:20:59 -05:00
Marcin Grzejszczak
6d681783e9 Revert "FIxed compialtion issues"
This reverts commit b018b710d1.
2020-01-20 10:27:52 +01:00
Marcin Grzejszczak
b018b710d1 FIxed compialtion issues 2020-01-19 22:44:02 +01:00
Marcin Grzejszczak
22779b6eb8 Fixes wrong test side entry resolution; fixes gh-1304 2020-01-10 10:17:01 +01:00
Marcin Grzejszczak
bf2257973c Merge branch '2.1.x' 2020-01-02 10:37:38 +01:00
Marcin Grzejszczak
50f04284cb Ensures reversed order of body matchers
without this change if in json paths we have .a[0].b[0] and .a[0].b[1] when the first entry is removed, then there is no longer any .a[0].b[1] since it becomes .a[0].b[0].
with this change we're first deleting enties without removing the trailing containers, then we're reversing the order of jsonpaths so that we delete starting from .a[0].b[1] and only then .a[0].b and finally we're removing the containers

fixes gh-1125
2020-01-02 10:23:00 +01:00
Marcin Grzejszczak
180e6a0f5a Merge branch '2.1.x' 2019-12-31 11:01:23 +01:00
Marcin Grzejszczak
e3d5f9bfff When using file(...) we can guess the content type; fixes gh-880 2019-12-31 10:41:06 +01:00
Marcin Grzejszczak
49ff802523 Merge branch '2.1.x' 2019-12-31 09:46:40 +01:00
Marcin Grzejszczak
bb85b353ed Fixed broken tests 2019-12-31 09:46:29 +01:00
Marcin Grzejszczak
d1daa08e78 Added support for the new spring-cloud-stream test binder mechanism
fixes gh-1278
2019-12-17 12:17:19 +01:00
Marcin Grzejszczak
f32fa536b9 Merge branch '2.1.x' 2019-11-15 14:29:55 +01:00
Marcin Grzejszczak
703e0f2b15 Added tests for an example with complex body inside the c() or p()
added a small fix for duplicate when().async()

fixes gh-1263
2019-11-15 14:20:11 +01:00
Marcin Grzejszczak
9b4dc95a7a Merge branch '2.1.x' 2019-11-15 13:42:20 +01:00
Marcin Grzejszczak
2f03472659 Usage of fixedTimeoutMillis requires async()
fixes gh-1262
2019-11-15 13:35:17 +01:00
Marcin Grzejszczak
29e8ffe76d Merge branch '2.1.x' 2019-11-08 14:23:27 +01:00
Marcin Grzejszczak
7326dec3d1 Fixed wrong wrapping of execute() in JaxRs test generation
fixes gh-1252
2019-11-08 14:12:35 +01:00
Marcin Grzejszczak
ba91fcf524 Merge branch '2.1.x' 2019-11-08 13:01:11 +01:00
Marcin Grzejszczak
cf44bdd73b Making inProgress not generate a single test method instead of the whole test class
fixes gh-1260
2019-11-08 12:51:22 +01:00
Marcin Grzejszczak
1128449c2d Fixed missing L for longs in messaging; fixes gh-1052 2019-11-08 10:48:01 +01:00
Marcin Grzejszczak
6c2a34d017 Merge branch '2.1.x' 2019-11-06 16:22:31 +01:00
Marcin Grzejszczak
746fff410d Supports custom charset when reading body from bytes
fixes gh-1199
2019-11-06 16:09:24 +01:00
Marcin Grzejszczak
81e7f0abc9 Polish 2019-11-06 15:45:53 +01:00
Marcin Grzejszczak
5f07b57de2 Merge branch '2.1.x' 2019-11-06 15:45:41 +01:00
Marcin Grzejszczak
ccdc1a9185 Resolves templated test text regardless of whether there is a response body or not
fixes gh-1163
2019-11-06 14:48:28 +01:00
Marcin Grzejszczak
b7b2dd5cbf Merge branch '2.1.x' 2019-11-06 14:21:54 +01:00
Marcin Grzejszczak
d2fe5f6bee Ensures that non java.lang classes have a fqn class reference
without this change BigDecimal wasn't properly imported in the assertion. Also, even if it would, assertj has a string comparison of the big decimal value
with this change we're providing a fqn class for non java.lang classes and for BigDecimal comparison we're using the String [isEqualTo] method

fixes gh-1139
2019-11-06 14:09:38 +01:00
Marcin Grzejszczak
1ac427a20a Merge branch '2.1.x' 2019-11-06 12:38:51 +01:00
Marcin Grzejszczak
de372ed224 Fixed the issue that a null value wasn't considered an optional property
without this change an optional property was such that had an empty or non empty string. Null wasn't supported
with this change we're adding null back

fixes gh-1257
2019-11-06 12:29:39 +01:00
Marcin Grzejszczak
954f3244bd Merge branch '2.1.x' 2019-11-05 14:54:52 +01:00
Marcin Grzejszczak
4e375b99e1 Don't escape chars when building WireMock JSON response
fixes gh-1038
fixes gh-1064
2019-11-05 13:32:06 +01:00
Marcin Grzejszczak
5467fbecd3 Merge branch '2.1.x' 2019-11-04 09:25:01 +01:00
Marcin Grzejszczak
e2999d9f8b Updates the parsing of a json body containing a regex in the body 2019-11-04 09:20:25 +01:00
Marcin Grzejszczak
cf37bc666a Should not fail when matchers don't have dots
fixes gh-894
2019-10-31 14:58:40 +01:00
Marcin Grzejszczak
b2010ae642 Merge branch '2.1.x' 2019-10-31 14:37:46 +01:00
Marcin Grzejszczak
3f834e6062 Parses properly the full regex body on the request side
fixes gh-94
2019-10-31 14:24:24 +01:00
Marcin Grzejszczak
d5acc0ca12 Update auto-configuration to use @Configuration(proxyBeanMethods=false)
fixes gh-1245
2019-10-24 15:39:57 +02:00
Marcin Grzejszczak
05d82e0bbe Fixed checkstyle 2019-10-02 15:00:52 +02:00
Marcin Grzejszczak
dba2d1b260 Merge branch '2.1.x' 2019-10-02 14:53:58 +02:00