You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
When using xUnit, it would be nice to be able to log the output from WireMock to the test output helper.
Describe the solution you'd like
Introduce a new WireMock.Net.XUnit project and create a TestOutputHelperWireMockLogger class, for logging to an ITestOutputHelper.
Describe alternatives you've considered
Keeping the implementation in my own code base.
Is your feature request supported by WireMock (java version)? Please provide details.
Not to my knowledge, no. XUnit is a .NET testing framework, so there is no direct Java equivalent.
Additional context
This is the implementation I'm currently using:
It should be sufficient to reference the project.
Normally you already have a reference to xUnit, but since it can't write to the console, you need to use the ITestOutputHelper.
Is your feature request related to a problem? Please describe.
When using xUnit, it would be nice to be able to log the output from WireMock to the test output helper.
Describe the solution you'd like
Introduce a new
WireMock.Net.XUnit
project and create a TestOutputHelperWireMockLogger class, for logging to anITestOutputHelper
.Describe alternatives you've considered
Keeping the implementation in my own code base.
Is your feature request supported by WireMock (java version)? Please provide details.
Not to my knowledge, no. XUnit is a .NET testing framework, so there is no direct Java equivalent.
Additional context
This is the implementation I'm currently using:
The text was updated successfully, but these errors were encountered: