Rank: Member
Groups: Registered
Joined: 3/12/2013(UTC) Posts: 13 Location: Norway
Was thanked: 5 time(s) in 5 post(s)
|
Color bullets are not updated for new tests.
I have an issue where the color bullets do not update when I add new tests.
The color bullets are white until I make the test fail. Then the white color bullet is replaced by a red x at the Assert line. The other bullets are still white though.
If I click the arrow at the start of the test, it seems like the test has run.
Is this a bug?
Running NCrunch 39.0.1 on VS 2017 (15.2).
[img](- BROKEN LINK -)[/img]
|
|
|
|
Rank: NCrunch Developer
Groups: Administrators
Joined: 4/16/2011(UTC) Posts: 7,145
Thanks: 959 times Was thanked: 1290 time(s) in 1196 post(s)
|
Hi, thanks for sharing this. This looks to me like you have a coverage filter set in your configuration settings. This could be attached to your engine mode, or defined at global/solution level. Can you check this configuration setting?.
|
|
|
|
Rank: Member
Groups: Registered
Joined: 3/12/2013(UTC) Posts: 13 Location: Norway
Was thanked: 5 time(s) in 5 post(s)
|
The setting says "When true".
Note that this doesn't happen in all tests. It works fine in some tests in the same test fixture. It seems random.
|
|
|
|
Rank: NCrunch Developer
Groups: Administrators
Joined: 4/16/2011(UTC) Posts: 7,145
Thanks: 959 times Was thanked: 1290 time(s) in 1196 post(s)
|
Does the pattern seem to be consistent, or intermittent? If you right click on the test and choose to run it individually, does the problem go away for the targeted test?
Could you try clearing your NCrunch cache file? This is stored under the _NCrunch_SOLUTIONNAME directory adjacent to your .sln file. Make sure the engine is disabled when you do this.
|
|
|
|
Rank: Member
Groups: Registered
Joined: 3/12/2013(UTC) Posts: 13 Location: Norway
Was thanked: 5 time(s) in 5 post(s)
|
The problem is intermittent. If I run the test manually, the problem sometimes disappear for that specific test.
I'll try to clear the cache next time the problem appears and get back to you!
|
|
|
|
Rank: NCrunch Developer
Groups: Administrators
Joined: 4/16/2011(UTC) Posts: 7,145
Thanks: 959 times Was thanked: 1290 time(s) in 1196 post(s)
|
Thanks for confirming this. This smells very much like cache file corruption. I'd be interested to know if clearing the cache file resolves the issue. You don't need to wait for it to reappear - I'd recommend nuking the cache file immediately.
|
|
|
|
Rank: Member
Groups: Registered
Joined: 3/12/2013(UTC) Posts: 13 Location: Norway
Was thanked: 5 time(s) in 5 post(s)
|
Thanks -- seems like that did the trick!
|
|
|
|
Rank: NCrunch Developer
Groups: Administrators
Joined: 4/16/2011(UTC) Posts: 7,145
Thanks: 959 times Was thanked: 1290 time(s) in 1196 post(s)
|
jotto;10573 wrote:Thanks -- seems like that did the trick! Awesome, thanks for confirming!
|
|
|
|
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.NETThis page was generated in 0.041 seconds.