Commit Graph

123 Commits

Author SHA1 Message Date
Marcin Grzejszczak
06243abe3c Added a test with multiple contracts in a file 2016-12-07 22:24:34 +01:00
Marcin Grzejszczak
84d361bae7 Adding tests for multiple contracts 2016-12-07 22:24:34 +01:00
Marcin Grzejszczak
d8ff715527 Bumped up version to 1.1.0 2016-12-07 14:34:56 +01:00
Marcin Grzejszczak
7a347da55a Going back to snapshots 2016-11-24 18:58:50 +01:00
Marcin Grzejszczak
c7883a0d97 Bumping version before release 2016-11-24 18:37:39 +01:00
Marcin Grzejszczak
699c7d2121 Added Gradle / Maven tabs
with these changes if someone is not interested with one of those tools one won't see it until it gets clicked

fixes #152
2016-11-21 13:59:42 +01:00
Dave Syer
fa3c0035e0 Use apache HTTP client instead of JDK
Never got to the bottom of this, but the test failure with the
dropped connection (EOF on socket) seems to go away if we use
the Apache client instead of the JDK.
2016-11-15 09:53:42 +00:00
Marcin Grzejszczak
ffc691167f Updated ports 2016-11-14 10:57:59 +01:00
Marcin Grzejszczak
42d82dca23 Prepared code for parallel run 2016-11-14 10:30:04 +01:00
Dave Syer
1b3496f492 Switch off web environment in tests
This seems to fix the flickering test problem for me at least.
Not sure why yet, so I'll continue to stare at it.
2016-11-11 11:53:48 +00:00
Dave Syer
891452376b Don't use ServerProperties for configuring Wiremock server
The problem is that it is a Spring Boot app (really tiny one), so
it binds to server.* in the environment, if you try to use
the stock ServerProperties. We only need a subset of the features
so it's actually relatively easy to wrap it and use a delegate.
2016-11-09 16:12:23 +00:00
Marcin Grzejszczak
b3cf4077e2 Fixed the base class name
without this change for convention class names we haven't escaped illegal chars
with this change the illegal chars are escaped and no compilation issues occur

fixes #137
2016-11-08 16:14:20 +01:00
Marcin Grzejszczak
137100c1f7 Updated docs 2016-11-07 14:36:26 +01:00
Marcin Grzejszczak
ba45eb582b Updated docs 2016-11-07 14:35:46 +01:00
Marcin Grzejszczak
f4a6b4f4b1 Going back to snapshots 2016-10-17 12:22:17 +02:00
Marcin Grzejszczak
dd214f83f6 Bumping versions before release 2016-10-17 11:54:52 +02:00
Marcin Grzejszczak
7072284c95 Making Windows build pass (#109)
* had to ignore some tests for Windows due to absurd exceptions
* fixed escaping path for directory matching

fixes #98
2016-10-16 13:47:46 +02:00
Marcin Grzejszczak
6381362ad6 Going back to Snapshots 2016-09-23 21:04:10 +02:00
Marcin Grzejszczak
8ee2ef4b18 Bumping versions before release 2016-09-23 20:07:58 +02:00
Marcin Grzejszczak
e8917940ec Added option of multiple test base classes
without this change the user was forced to use a single base class for all of the generated tests. It could become problematic after some time.

With this change we provide a range of options of providing different base classes for different contracts.

fixes #16
2016-09-23 15:52:14 +02:00
Marcin Grzejszczak
e3d9ec2d28 Updated pom 2016-09-23 11:12:37 +02:00
Marcin Grzejszczak
01f4ad76be Consumer Contracts (#83)
With this functionality you can have one centralized repository containing all contracts. This repo will have to produce a JAR containing all contracts. The layout of the repository can be arbitrary but some sensible defaults are assumed. The producer will be able to then download that JAR and produce tests and stubs from it.

fixes #38
2016-09-23 10:16:51 +02:00
Marcin Grzejszczak
24b3f80e8c Going back to SNAPSHOTs 2016-09-08 23:25:23 +02:00
Marcin Grzejszczak
411ca5886b Bumping versions before RC1 release 2016-09-08 23:25:23 +02:00
Marcin Grzejszczak
423e42cb1d Updated docs 2016-09-02 12:07:39 +02:00
Marcin Grzejszczak
5ceb9f1a8e Simplified addition of dependencies by using Camden BOM 2016-09-02 11:24:08 +02:00
Marcin Grzejszczak
0b37a45164 Bumped BOM to Brixton.SR5 2016-09-01 12:37:15 +02:00
Marcin Grzejszczak
bfc2172d66 Applied checkstyle rules 2016-08-29 12:04:21 +02:00
Marcin Grzejszczak
c59306ce5d Going back to snapshots 2016-08-27 00:27:55 +02:00
Marcin Grzejszczak
bf60a6b72f Bumping versions before release 2016-08-26 23:51:33 +02: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
012eac8f3c Fixing the build (#63)
we are installing artifacts twice. With Maven and Gradle then. We need to change that.

fixes #62
2016-08-22 11:33:17 +02:00
Dave Syer
f5183fcde3 Change repo URLs to https 2016-08-17 17:31:25 +01:00
Dave Syer
d56006bc93 Fix build config for standalone tests (need to be run separately) 2016-08-14 09:44:20 -07:00
Dave Syer
3c104276fc Remove redundant shell scripts from sample builds 2016-08-14 09:19:37 -07:00
Dave Syer
89a2b36556 Remove unnecessary profile wrapper for repos in sample 2016-08-14 09:03:32 -07:00
Marcin Grzejszczak
ad5ecec340 Updating circlei build 2016-08-12 12:18:10 +02:00
Marcin Grzejszczak
82302ae721 Fixed Contract build 2016-08-12 10:46:36 +02:00
Marcin Grzejszczak
48e2908c32 Trying to make Contract pick proper module order 2016-08-11 14:49:24 +02:00
Marcin Grzejszczak
26f020e3c3 Reordering folders 2016-08-09 18:20:31 +02:00
Marcin Grzejszczak
1398ae66f1 Trying to fix build 2016-08-09 17:55:21 +02:00
Marcin Grzejszczak
01cfa8dcf9 Fixed build 2016-08-09 14:28:57 +02:00
Dave Syer
256a61d23d Run standalone tests in 'integration' profile 2016-07-28 15:10:06 +01:00
Dave Syer
71b16eac86 Configure Maven to run Gradle where necessary 2016-07-28 12:51:28 +01:00
Dave Syer
bcce5699de Add additional build() step to allow ordered stubs 2016-07-28 09:32:30 +01:00
Marcin Grzejszczak
1aba428aaf Fixed the build 2016-07-27 11:59:21 +02:00
Dave Syer
6fd4b52ea9 Disable for now the gradle build of restdocs sample 2016-07-27 10:06:24 +01:00
Dave Syer
5609ffe76c Add support for WireMock matchers on restdocs stub builder 2016-07-27 09:16:12 +01:00
Dave Syer
4e21cbd884 Fix name of artifact in dsl test 2016-07-26 17:51:04 +01:00
Dave Syer
f7e4e036bd Fix standalone test scripts 2016-07-26 16:25:25 +01:00