When I open the Test Explorer, I do not see my tests, even after a rebuild. I can run the tests using dnx . test
and they run as expected.
My project.json file
is listed below. I am using ASP.Net 5 beta6 with xUnit 2 and Visual Studio 2015 (beta 6).
{
"version": "1.0.0-*",
"description": "ClassLibrary1 Class Library",
"authors": [ "jriegel" ],
"tags": [ "" ],
"projectUrl": "",
"licenseUrl": "",
"dependencies": {
"System.Collections": "4.0.10",
"System.Linq": "4.0.0",
"System.Threading": "4.0.10",
"System.Runtime": "4.0.20",
"Microsoft.CSharp": "4.0.0",
"xunit": "2.1.0-beta3-*",
"xunit.runner.dnx": "2.1.0-beta3-*"
},
"commands": {
"test": "xunit.runner.dnx"
},
"frameworks": {
"dnx451": { },
"dnxcore50": { }
}
}