3.0.0
This is the first release within WireMock organization. There are many changes, hopefully these are all of them.
Breaking changes
- changing
groupId
fromcom.maciejwalkowiak.spring
toorg.wiremock.integrations
@ConfigureWireMock
no longer hasproperty
orproperties
, replaced bybaseUrlProperties
@ConfigureWireMock
no longer hasstubLocation
, replaced byfilesUnderClasspath
Features
- simplify usage, you just need to annotate test with
@EnableWireMock
, it only needs@ConfigureWireMock
when changing default behavior - default properties
wiremock.server.baseUrl
andwiremock.server.port
@ConfigureWireMock
now hasbaseUrlProperties
, a list of properties that should be populated with the url.@ConfigureWireMock
now hasportProperties
, a list of properties that should be populated with the port.@ConfigureWireMock
now hasusePortFromPredefinedPropertyIfFound
, it will set the port to value of any existing port property.@ConfigureWireMock
now hasfilesUnderClasspath
andfilesUnderDirectory
, both are lists of locations where it looks for mappings.@ConfigureWireMock
now has default namewiremock
- Each WireMock has its logging prefixed with its port number.
- When only one WireMock, it will be configured as a client for that server (
WireMock.configureFor(wireMockServer.port());
)