Commit Graph

823 Commits

Author SHA1 Message Date
Marcin Grzejszczak
1f475384bf Merge branch '2.0.x' 2018-08-31 12:06:30 +02:00
Marcin Grzejszczak
d23684d1c4 Fixed backward compatibility of native WireMock helpers 2018-08-31 12:05:22 +02:00
Marcin Grzejszczak
b143d16f32 Chaned the helper's bounds 2018-08-30 12:21:14 +02:00
Marcin Grzejszczak
14498889f6 Fixed broken compilation 2018-08-29 16:23:56 +02:00
Marcin Grzejszczak
83e700cc97 Fixed broken compilation 2018-08-29 16:22:15 +02:00
Marcin Grzejszczak
d22b94ab83 Fixed broken compilation 2018-08-29 16:19:41 +02:00
Marcin Grzejszczak
8bd931cb4f Added compatibility with WireMock helpers
(cherry picked from commit 9fe36dc747)
2018-08-29 16:13:08 +02:00
Marcin Grzejszczak
9fe36dc747 Added compatibility with WireMock helpers 2018-08-29 15:50:24 +02:00
Marcin Grzejszczak
096790e04d Upgraded to Greenwhich 2018-08-29 14:04:28 +02:00
Marcin Grzejszczak
da2989b053 Samples still failing 2018-08-28 16:28:55 +02:00
Marcin Grzejszczak
58f3f429eb Upgraded to Greenwhich 2018-08-27 18:33:10 +02:00
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