Build/Test Issues

visual studio 2015 ctp6, does not discover Xunit Test

Started by cedric_dumont on 4,472 views

Hi,

I am using visual studio 2015 CTP 6 and the Ncrunch version 2.14.0.8, Here is my project.json file

{
"version": "1.0.0-*",
"dependencies": {
// "Microsoft.AspNet.Testing": "1.0.0-*",
"xunit" : "2.1.0-*",
"xunit.runner.aspnet": "2.1.0-*",
"Absyla.Core": "",
"Shouldly": "2.5.0"
},

"frameworks": {
"aspnet50": {
"dependencies": {
"System.Runtime": "4.0.20-beta-*"
}
}
},
"commands": {
"test": "xunit.runner.aspnet"
}
}


As you can see, I am using version 2.1.0 (which is beta for now) but also tried with xunit 2.0.0.

The problem is that my test are not discovered. (the are in the Test Explorer of visual studio)

Did I miss some steps ?

for the property Framework utilisation type for xunit v2+, I have UseDynamicAnalysis but also teste with static analysis.

kind regards
Hi, thanks for posting!

NCrunch currently doesn't support the JSON based projects in ASP.NET vNext. At the moment this area is still under development within MS, which has made it difficult to integrate with. Likely support will be added in future as VS2015 gets closer to its release.

Post a reply

Log in to reply.