without this change all tests from a package were not generated if at least one was in progress
with this change all tests are generated but those in progress are disabled / ignored
fixes gh-1449
* Adds info note in Wiremock docs around use of WireMock.resetToDefaultMappings when using '_stubs' property.
Fixes gh-1451
* Polished newly added docs w/ proper tense.
without this change when the server was already running we wouldn't set the static WireMock's instance to that running server. That would result in still pointing to a previously started WireMock instance
with this change we're setting the static server instance to the running server
fixes gh-1425
* Delete only valid mappings before generating stubs at runtime
Improvements over the changes in 6d44c54c. We now only delete files
which contain valid mappings before generating stubs at runtime. This
way we ensure that we actually use the newly generated stubs, but still
are able to keep additional files around to be included via
`body(file(...))`.
* Incorporated PR feedback
- Removed HttpServerStubFactory
- Use SpringFactorieLoader to load HttpServerStub implementations
- Added tests for WireMockHttpServerStub#isAccepted(File)
Added stubrunner.properties.git.ensure-git-suffix to disable the automatic
addition of '.git' to git URLs. This adds support for repositories which
don't support these kind of URLs (for example Azure DevOps).
Co-authored-by: Dominik Meister <dominik.meister@helsana.ch>
* Autoconfigure a basic ConnectionFactory as RabbitMockConnectionFactory
Autoconfigure a barebones ConnectionFactory implementation instead of CachingConnectionFactory. CachingConnectionFactory would require additional mocking to support its transaction tracking and caching the mocked connection isn't necessary.
Fixes gh-1259
* Add Test
Co-authored-by: Henning Garus <henning.garus@exxeta.com>
* Fix for file resolving for Windows
* #1374 Better way to fix issue with file format in FileStubDownloader
* #1374 Remove unused imports
* #1374 forgot to add tests for change
* Add more windows fixes
* Checkstyle fixes gh-1374
Checkstyle fixes gh-1374
* Checkstyle fixes gh-1374
* gh-1374 pr fix
* gh-1374 pr fixes
* gh-1374 checkstyle changes
* missed off return from statement
* missed off return from statement
* Remove the FileUtils
* Remove the FileUtils