Why is the xUnit Runner not finding my tests

后端 未结 8 1329
陌清茗
陌清茗 2020-11-27 05:25

I have a xUnit.net Test as follows:

static class MyTestClass
{
    [Fact]
    static void MyTestMethod() 
    {
    }
         


        
8条回答
  •  Happy的楠姐
    2020-11-27 05:50

    I had the same issue in VS2017 RC, .NET core 1.1 project. Updating xunit.runner worked for me,

    Install-Package xunit.runner.visualstudio
    

提交回复
热议问题