Open joperezr opened 4 months ago
Created an issue in bunit repo - https://github.com/bUnit-dev/bUnit/issues/1402
This has been fixed in latest release of bUnit. Thanks for bringing this to our attention.
Updating bUnit here: https://github.com/dotnet/aspire/pull/2693
@joperezr I think the remaining work would be to merge change into 9.0 branch and unskip the tests. Assigning to you.
When merging a new test to the 9.0 branch, we started hitting a type load exception when trying to run the test. Here is the error message:
The issue is that the test class uses BUnit TestContext, which relies on type IJSUnmurshalledRuntime which was removed from 9.0 in PR https://github.com/dotnet/aspnetcore/pull/52732. This issue is to track the work to re-enable the test in 9.0 branch, whether it is by not using BUnit TestContext, or by having BUnit not depend on that type any longer.
cc: @JamesNK @egil