No test found. Make sure that installed test discoverers & executors, platform & framework version settings are appropriate and try again

前端 未结 30 1766
广开言路
广开言路 2020-12-05 04:00

I am in the process of upgrading our existing solution to .Net 4.6.1 and have been unable to get our unit tests to run during a server build. Locally they run as expected an

30条回答
  •  温柔的废话
    2020-12-05 04:13

    In my case, I had to:

    1. Convert test project to netcore 2.0 (was netstandard 2.0)

    2. Add nuget package xunit.runner.visualstudio

    Reference: http://www.neekgreen.com/2017/11/20/xunit-no-test-is-available/

提交回复
热议问题