WireMock.Net is a flexible product for stubbing and mocking web HTTP responses using advanced request matching and response templating. Based on the functionality from http://WireMock.org, but extended with more functionality.
Apache License 2.0
1.35k
stars
197
forks
source link
Reset resets only mappings and logentries, not scenarios. #1030
Calling WireMockServer.Reset() only resets Mappings and LogEntries, not scenarios. Since there are 3 methods for resetting them all seeprately (WireMockServer.ResetLogEntries(), WireMockServer.ResetMappings() and WireMockServer.ResetScenarios()) i would expet Reset() to reset everything, not just 2 of the 3.
Describe the bug
Calling
WireMockServer.Reset()
only resets Mappings and LogEntries, not scenarios. Since there are 3 methods for resetting them all seeprately (WireMockServer.ResetLogEntries()
,WireMockServer.ResetMappings()
andWireMockServer.ResetScenarios()
) i would expetReset()
to reset everything, not just 2 of the 3.Expected behavior:
Scenarios are also reset.