I went to bed last night with all the tests showing up, reloaded the project today and the VS test runner isn't picking anything up no matter what I try.
I had a similar issue yesterday when I loaded up the project, but resolved it by adding a reference to Microsoft.DotNet.InternalAbstractions - as suggested in this post: Link. But it's now doing the same thing even with the reference. I've also now tried almost all the answers in the post to no avail.
I've compared to a basic console project that works and the references are identical apart from the main project being included:
I've added this test and nothing shows.
using Xunit;
namespace LearnOnlineAppTests
{
public class BaseTest
{
[Fact]
public void DummyTest()
{
Assert.True(true);
}
}
}
Also been through this: Xunit documentation
Using VS2017 Professional without ReSharper.