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

Notification

Icon
Error

RunAll does not work
thomasmaisel
#1 Posted : Friday, December 9, 2016 9:02:43 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 12/9/2016(UTC)
Posts: 5
Location: Germany

Thanks: 1 times
Since the new upgrade (3.1.0.1) the RunAll-Button does not work anymore.

When I hit the button, the screen looks like this:


After less than a second, the tests are finished (but have not been executed).


I tried to delete the nCrunch config (in the roaming folder) and I re-ran the configuration wizard (I also disabled parallel execution). Nothing helped.

What's wrong?
Remco
#2 Posted : Friday, December 9, 2016 10:46:24 PM(UTC)
Rank: NCrunch Developer

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

Thanks: 964 times
Was thanked: 1296 time(s) in 1202 post(s)
Hi, thanks for sharing this issue.

Would you be able to submit a bug report after you've had this happen to you? It's possible there's been an internal problem somewhere, and the log in the report may reveal this.

A couple more questions to help narrow this down:

- Does this happen for you on other solutions? For example, if you create a small dummy solution, do you get the same experience?
- Does this happen for the other run test UI options? (Run all tests visible here, Run selected test)
- Which engine mode are you using?
thomasmaisel
#3 Posted : Wednesday, December 21, 2016 8:22:47 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 12/9/2016(UTC)
Posts: 5
Location: Germany

Thanks: 1 times
Thanks. Done!
Remco
#4 Posted : Wednesday, December 21, 2016 10:08:22 AM(UTC)
Rank: NCrunch Developer

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

Thanks: 964 times
Was thanked: 1296 time(s) in 1202 post(s)
Thanks for sending through the bug report.

It looks like NCrunch's data model for your solution has somehow been corrupted. It isn't clear to me how this has happened, but I'd be very interested in learning more about it if you can find a way to reproduce it. Deleting your NCrunch cache file (stored in the _NCrunch_ folder next to your .sln file) with the engine disabled should resolve the problem.
thomasmaisel
#5 Posted : Wednesday, December 21, 2016 10:18:59 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 12/9/2016(UTC)
Posts: 5
Location: Germany

Thanks: 1 times
Filed another report after removing the folder.

Clicked on "Run all" at exactly 11:14:00

It only runs 40 tests out of 2300.
Remco
#6 Posted : Wednesday, December 21, 2016 11:30:52 AM(UTC)
Rank: NCrunch Developer

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

Thanks: 964 times
Was thanked: 1296 time(s) in 1202 post(s)
Ok, it might not seem that way, but this is actually really great news. It means that we have a chance of fixing this!

There is a specific test (or group of tests) that is causing this. We need to know which test it is and why it's special.

It should be possible to find it by running the tests manually. Set your NCrunch to the 'Run all tests manually' engine mode. Try selectively running groups of your tests. If the group contains a corrupt test, the engine will fail to queue everything in the group. The trick is to keep trying until you've narrowed it down to the specific test that is causing the problem.
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.038 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download