Commit Graph

512 Commits

Author SHA1 Message Date
Marcin Grzejszczak
debea6edfd Migrated to default WireMock helper methods; fixes gh-540 2018-08-24 15:10:55 +02:00
Marcin Grzejszczak
9eeb40e213 Throws exception when contract can't be serialized
fixes gh-704
2018-08-22 16:35:45 +02:00
Marcin Grzejszczak
50e6344a0c Merge branch '2.0.x' 2018-08-08 18:10:37 +02:00
Marcin Grzejszczak
52ed19d194 Merge branch '1.2.x' into 2.0.x 2018-08-08 18:09:49 +02:00
Marcin Grzejszczak
e5b0a9dabc Added better exception for null collection elements; fixes gh-703 2018-08-08 18:09:27 +02:00
Marcin Grzejszczak
87a3b959a0 Merge branch '2.0.x' 2018-08-06 11:54:06 +02:00
Marcin Grzejszczak
01c056e938 Merge branch '1.2.x' into 2.0.x 2018-08-06 11:53:57 +02:00
Marcin Grzejszczak
7046690842 Fixed the way body is parsed for stub generation
without this fixed some bodies were treated as XML where they should be treated as text

fixes gh-493
2018-08-06 11:48:40 +02:00
Marcin Grzejszczak
983e0e4d0f Merge branch '2.0.x' 2018-08-01 13:05:56 +02:00
Marcin Grzejszczak
c2ecd2cd17 Merge branch '1.2.x' into 2.0.x 2018-08-01 13:02:30 +02:00
Marcin Grzejszczak
e65aa5d6d5 Ensures that the proper channel will be picked for the same destination
fixes gh-694
2018-08-01 12:54:47 +02:00
Marcin Grzejszczak
46963e3da5 Fixed invalid contract package string
without this change we were matching the package for contracts with _REPLACEME_ text in it
with this change we're checking it against the package for contracts in a proper way

fixes gh-701
2018-08-01 12:12:37 +02:00
Marcin Grzejszczak
85406875e1 When referencing from request a number adds "L" for longs
fixes gh-702
2018-08-01 11:43:46 +02:00
buildmaster
5375cf51ff Bumping versions to 2.0.2.BUILD-SNAPSHOT after release 2018-07-31 20:10:10 +00:00
buildmaster
2e92b65169 Going back to snapshots 2018-07-31 20:10:09 +00:00
buildmaster
c9758f5d4c Update SNAPSHOT to 2.0.1.RELEASE 2018-07-31 19:50:29 +00:00
Marcin Grzejszczak
dceb752d85 Fixed conflicts 2018-07-27 09:01:36 +02:00
Olga Maciaszek-Sharma
b48d50edcc Add junit5 support (#690)
* Refactoring: extract class building methods.
* Move imports to import providers.
* Switch to new TestFramework implementation with TestFrameworkDefinition
delegate. Handle ignoring tests correctly in JUnit5.
* Implement handling JUnit5 rules.
* Add tests for JUNIT5.
* Update docs.

fixes gh-489
2018-07-19 15:03:42 +02:00
Marcin Grzejszczak
fbee744992 Bump to Greenwich, 2.1.0 2018-07-19 15:00:13 +02:00
Alexey Nesterov
6ab02d8ce8 Fix using regex patterns when matching raw body value (#692)
When matching non-json or xml body with regex the expression gets
escaped. Because of that all standard patterns (number(), positiveInt())
will not work either.

E.g.
response {
  status OK()
  body(value(stub("1"), test(number())))
}

Will generate invalid matcher:

assertThat(responseBody).matches("-?(d*.d+|d+)");

Valid version is:

assertThat(responseBody).matches("-?(\\d*.\\d+|\\d+)");
2018-07-19 09:14:53 +02:00
SvenBayer
0a28d0848d Move YamlContractConverter list of available contract converters. (#684)
Great pointer and great pull request. Thanks a lot!
2018-07-09 08:52:19 +02:00
Marcin Grzejszczak
302347f399 Fixed the invalid mockito verification that ignored null; fixes gh-676 2018-07-02 16:06:18 +02:00
buildmaster
63418e0400 Bumping versions to 1.2.6.BUILD-SNAPSHOT after release 2018-06-29 20:38:49 +00:00
buildmaster
983b363512 Going back to snapshots 2018-06-29 20:38:47 +00:00
buildmaster
7d9dd84431 Update SNAPSHOT to 1.2.5.RELEASE 2018-06-29 20:22:31 +00:00
buildmaster
3be8122604 Bumping versions to 2.0.1.BUILD-SNAPSHOT after release 2018-06-19 01:35:06 +00:00
buildmaster
8540c6ffdd Going back to snapshots 2018-06-19 01:35:04 +00:00
buildmaster
ffeb8f74eb Update SNAPSHOT to 2.0.0.RELEASE 2018-06-19 01:22:57 +00:00
Ryan Baxter
0e4a92c1e7 Merge remote-tracking branch 'origin/1.2.x' 2018-06-11 11:09:48 -04:00
Ryan Baxter
8e4af644b2 adding spring boot autoconfigure processor 2018-06-11 10:57:13 -04:00
Henry Jonathan
d72524173d Contract for multipart/mixed endpoint backport to 1.2.x (#662)
* apply cherry pick based on b965c49a7e and fix conflict
2018-06-08 12:25:37 +02:00
buildmaster
af93d926cb Going back to snapshots 2018-05-25 13:31:27 +00:00
buildmaster
1e14427889 Update SNAPSHOT to 2.0.0.RC2 2018-05-25 13:22:50 +00:00
Marcin Grzejszczak
7f3d80ad07 Added missing test 2018-05-11 14:44:54 +02:00
Marcin Grzejszczak
9f578f87d1 Merge branch '1.2.x' 2018-05-11 02:35:42 +02:00
Tim Ysewyn
077e18aa25 A response header should be verified against an execution property (#649)
Fixes #628
2018-05-11 02:12:16 +02:00
Tim Ysewyn
bf1c54dec7 Added assertion for empty map/object to autogenerated test (#653)
* Added assertion for empty map/object to autogenerated test

Fixes #554
2018-05-11 02:01:25 +02:00
Tim Ysewyn
3fe82362a8 Return the actual object instead of the String used for matching the pattern (#654) 2018-05-11 01:54:20 +02:00
Tim Ysewyn
abecf1fc83 Added assertion for empty map/object to autogenerated test (#653)
* Added assertion for empty map/object to autogenerated test

Fixes #554
2018-05-11 01:31:36 +02:00
onikytchuk
12e6170283 [#584] Added inclusion configuration 'includeFiles' that allow producers to filter common repository structure and define the list of messaging topics that would be processed during the tests autogeneration. 2018-05-10 09:23:13 +03:00
Tim Ysewyn
13873f3481 A response header should be verified against an execution property (#649)
Fixes #628
2018-05-09 07:57:30 +02:00
Axel Hodler
87d6d9e4f1 Dont parse body if not specified in contract (#624) 2018-05-01 09:32:12 -04:00
buildmaster
7484fc339c Going back to snapshots 2018-04-23 15:16:20 +00:00
buildmaster
7a6037cafe Update SNAPSHOT to 2.0.0.RC1 2018-04-23 15:09:43 +00:00
Tim Ysewyn
5dbac1f210 Generated messaging tests could create compilation errors for certain regexes in headers (#622)
* Fixed an issue with the generation of messaging tests where the regex pattern was creating compilation errors

fixes gh-620

(cherry picked from commit f64feaf)
2018-04-19 08:54:27 +02:00
Tim Ysewyn
f64feaf84d Generated messaging tests could create compilation errors for certain regexes in headers (#622)
* Fixed an issue with the generation of messaging tests where the regex pattern was creating compilation errors

fixes gh-620
2018-04-18 23:17:59 +02:00
Marcin Grzejszczak
4010144136 Merge branch '1.2.x' 2018-04-12 16:32:15 +02:00
Marcin Grzejszczak
d467341427 Ensured that stub part of the body gets returned form WIreMock response, fixes gh-611 2018-04-12 15:49:18 +02:00
Marcin Grzejszczak
b965c49a7e Added support for multipart with content type, fixes gh-599 2018-04-11 15:37:13 +02:00
Marcin Grzejszczak
34f367e62b Merge branch '1.2.x' 2018-04-11 12:48:22 +02:00