This changelog is no longer maintained. Follow the release notes at the GitHub releases for latest changes
- [Dependency] Update to WireMock 2.27.2
- Improve documentation
- [Change] Move stubbing annotations into their own package:
de.skuzzle.wiremock.test.stubs
(breaking) - [Change] Deprecated
HttpStub.wrapAround
and introducedHttpStub.onLastResponse
with new enumWrapAround
- [Add] New properties that will always be injected:
wiremock.server.http(s)Host
,wiremock.server.http(s)Port
- [Add]
WrapAround.REPEAT
which will repeat the last response on every subsequent request - [Add] Allow to globally define required authentication via
WithWiremock.withGlobalAuthentication
- Just some improvements to the build/release process
- Just some improvements to the build/release process
- [Fix] Readme
- [Change] Use latest WireMock version (
2.27.1
)
- [Add] Possibility to set a stub's priority
- [Add] Allow to define annotation stubs on inherited super classes and interfaces of the test class
- [Add] Allow to define annotation stubs using meta-annotated custom annotations
- [Fix] Possibility to place multiple stubs on the test class (missing
target = { ..., ElementType.TYPE }
onHttpStubs
)
- Allow to configure consecutive responses for the same request
- Compatibility to older Spring-Boot versions
- Remove note about Junit 5 being required. This library actually isn't tied to a specific testing framework
- Improve JavaDoc
- Add automatic module name to jar manifest
- Improve JavaDoc
- Improve configuration consistency checks
- Allow
@HttpStub
on test class itself (instead of only on test method) - Allow to set status message on mock response
- Allow to configure WireMock scenarios for stateful request matching using annotations
- Skipped by accident 🤡
- Renamed
SimpleStub
toHttpStub
and split into multiple annotations HttpStatus
enum is now used for defining the stubbed response status- Match any HTTP method by default (instead of GET)
- Allow to define different matchers for params, cookies, headers and body using prefixes like
eq:
orcontaining:
- Support multiple
@SimpleStub
instances per test method - Allow to stub authentication and response headers via
@SimpleStub
- Fix bug with unresolvable test keystore locations
- Initial prototype