Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

visual studio 2015 ctp6, does not discover Xunit Test
cedric_dumont
#1 Posted : Friday, April 17, 2015 6:18:55 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 4/17/2015(UTC)
Posts: 1
Location: Belgium

Thanks: 1 times
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
Remco
#2 Posted : Friday, April 17, 2015 6:24:04 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,144

Thanks: 959 times
Was thanked: 1290 time(s) in 1196 post(s)
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.
1 user thanked Remco for this useful post.
cedric_dumont on 4/17/2015(UTC)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.029 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download