Closed johnmbaughman closed 5 years ago
I can't reproduce the issue. Can you try with Visual Studio 15.9.1? The extension was severely broken for me on 15.9.0. If it's still happening, can you share the .csproj file that the detection is failing on?
Here are the project and package.config files.
Looks like it was working in .NET Core projects but not .NET Framework projects. Updated to look for "xunit.core" as well as "xunit" references. Fix is in 1.9.12 .
Rate it on the Visual Studio Marketplace if you like the extension: https://marketplace.visualstudio.com/items?itemName=RandomEngy.UnitTestBoilerplateGenerator
That worked. Now to fix the Assert.Fail() that doesn't exist in xUnit... ;)
I will go and rate this. It's awesome and saves a bunch of time.
In 1.9.13 I changed to use Assert.True(False) for xUnit.
Installed product versions
Description
Extension detects Visual Studio as test framework when xUnit is referenced.
Steps to recreate
Current behavior
Detects and selects incorrect test framework
Expected behavior
Detect and select the correct test framework