The xunit can't run on LINQPad v8.4.1
Here are the steps to reproduce the error:
Menu > Query > Add Xunit Test Support
Open
xunit
query which is generated by LINQPadHit
F5
to run. The error will be shown below:
CS0121 The call is ambiguous between the following methods or properties: 'AssemblyRunner.Start(string, bool?, TestMethodDisplay?, TestMethodDisplayOptions?, bool?, bool?, int?, bool?)' and 'AssemblyRunner.Start(string, bool?, TestMethodDisplay?, TestMethodDisplayOptions?, bool?, bool?, int?, bool?, ParallelAlgorithm?)'
The xunit
NuGet package version is 2.8.0
.
Comments
This is an issue with XUnit 2.8.0 - it should be fixed soon.
https://github.com/xunit/xunit/issues/2922