When I do a full rebuild of my application, I can run the unit test project successfully. However, if I make any code change to the code under test, either tests will disappear, or they will show up as inconclusive.
The tests themselves are fairly simple, no async or anything like that.
I am unable to determine what the actual error is as it looks like ReSharper is supressing the output from the invocation of dotnet.
Specifications:
Windows 10 Pro
Visual Studio Community 2017 15.7.1
ReSharper Ultimate 2018.1.3
.NET Core SDK 2.1.300
Project:
<PropertyGroup>
<TargetFramework>netcoreapp2.1</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.5.0" />
<PackageReference Include="Moq" Version="4.8.2" />
<PackageReference Include="xunit" Version="2.3.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.3.1" />
<DotNetCliToolReference Include="dotnet-xunit" Version="2.3.0-beta4-build3742" />
</ItemGroup>
2018.07.24 11:15:47.219 WARN dotnet exited unexpectedly with the code (1)
Output stream: Microsoft (R) Test Execution Command Line Tool Version 15.7.0
Copyright (c) Microsoft Corporation. All rights reserved.
Error stream: Timeout to connect or process request for DesignModeClient on port: 64498
2018.07.24 11:15:47.220 ERROR JetBrains.ReSharper.UnitTestFramework.DotNetCore.Exceptions.ProcessExitedUnexpectedlyException: dotnet exited unexpectedly with the code (1)
Output stream: Microsoft (R) Test Execution Command Line Tool Version 15.7.0
Copyright (c) Microsoft Corporation. All rights reserved.
Error stream: Timeout to connect or process request for DesignModeClient on port: 64498
2018.07.24 11:15:47.221 WARN Element MyProject.Api.Tests.Endpoints.Availability.AvailabilityRequestValidatorTests was left pending after its run completion.
2018.07.24 11:15:47.221 WARN Element MyProject.Api.Tests.Endpoints.Availability.AvailabilityRequestValidatorTests.ShouldValidateInboundId was left pending after its run completion.