当我针对我的测试项目运行dotnet测试时,我收到错误消息
No test is available in ......dll. Make sure that test discoverer & executors are registered and platform & framework version settings are appropriate and try again.
我正在使用此命令行:
dotnet test platform\Decideware.Platform.Tests\Decideware.Platform.Tests.csproj --configuration Release --framework net47 --no-restore --no-build
我的项目以net47为目标。它使用NUnit 2.6.4(它是最近转换的遗留项目)。
我正在导入我认为我需要的所有包裹:
<PackageReference Include="NUnit" Version="2.6.*" />
<PackageReference Include="NUnitTestAdapter" Version="2.1.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.6.*" />
如何让我的测试运行?