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

Notification

Icon
Error

1 project failing to build, doesn't show in ncrunch test window
MattK
#1 Posted : Tuesday, November 4, 2014 4:59:17 PM(UTC)
Rank: Member

Groups: Registered
Joined: 10/8/2013(UTC)
Posts: 11
Location: United Kingdom

Thanks: 2 times
Was thanked: 2 time(s) in 2 post(s)
Hi,

In multiple of my solutions (with shared code) the ncrunch circle at the bottom right of my visual studio is saying there is 1 project failing to build. When i click to open the NCrunch Tests window though it doesn't display any projects failing. Is there a way i can tell which project is failing? Don't like checking in without the green N!!

Thanks
Remco
#2 Posted : Tuesday, November 4, 2014 8:59:01 PM(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 sharing this issue. If there is a project failing, it should be showing in the Tests Window regardless of filter/grouping configuration. If this isn't the case, then it's probably a bug. My guess would be that the spinner is out of sync somehow. Do you get this consistently? Are there any build tasks showing as failed in the Processing Queue Window?


Cheers,

Remco
MattK
#3 Posted : Wednesday, November 5, 2014 9:34:44 AM(UTC)
Rank: Member

Groups: Registered
Joined: 10/8/2013(UTC)
Posts: 11
Location: United Kingdom

Thanks: 2 times
Was thanked: 2 time(s) in 2 post(s)
I figured out what the problem was. I had a conflicted .ncrunchproject file. The tests window said nothing about a failing build, just the spinner at the bottom. For future reference I have attached a screenshot of what it looked like screenshot. I also took a backup of the conflicted files just in case you wanted them!
Remco
#4 Posted : Wednesday, November 5, 2014 10:33:26 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)
Wow, that's crazy! By conflicted, do you mean conflicting inside your VCS? So that the XML form of the file was corrupt?
MattK
#5 Posted : Wednesday, November 5, 2014 10:36:08 AM(UTC)
Rank: Member

Groups: Registered
Joined: 10/8/2013(UTC)
Posts: 11
Location: United Kingdom

Thanks: 2 times
Was thanked: 2 time(s) in 2 post(s)
Yea, subversion. So it had:
<<<<<<< .mine
<IgnoredTests>
<NamedTestSelector>
<TestName>TESTNAME</TestName>
</NamedTestSelector>
</IgnoredTests>
=======
<IgnoredTests>
<AllTestsSelector />
</IgnoredTests>
>>>>>>> .r13377

It wasn't coming up in my ankh visual studio plugin though so i didn't see it for some time...
Remco
#6 Posted : Wednesday, November 5, 2014 9:30:11 PM(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)
Great, thanks! I should hopefully be able to reproduce this then and clean up the experience a bit. Thanks for taking the time to report the issue.
1 user thanked Remco for this useful post.
MattK on 11/10/2014(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.035 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download