Closed lukasszh closed 5 months ago
@lukasszh I did test it in my Windows machine using Windows and Linux Docker, and .NET6, 7 & 8 work fine.
@lukasszh Are you also using TestContainers version 3.7.0 ?
@lukasszh
You can try preview version 1.5.46-ci-18317
if that solves your problem.
https://github.com/WireMock-Net/WireMock.Net/wiki/MyGet-preview-versions
@StefH: Thank you for the quick problem analysis!
After some further problem analysis, I found out that it is also related to the compatibility with TestContainers 3.7.0. Using your fix 1.5.46-ci-18317 has solved my problem.
Thanks for confirming.
I'll release a new official NuGet today.
Describe the bug
After upgrading from .NET 7 to version 8, WireMock cannot be started anymore.
Test to reproduce
Once this line is added to the IClassFixture of xUnit, the error message appears.
With .NET 7 and the same setup, everything worked perfectly fine.
Stacktrace
Xunit.Sdk.TestClassException The following constructor parameters did not have matching fixture data: TestFactory factory Exception doesn't have a stacktrace