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

Notification

Icon
Error

Test Status Changes
CoolBreeze
#1 Posted : Friday, February 26, 2016 7:10:20 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 7/11/2014(UTC)
Posts: 79
Location: United States of America

Was thanked: 9 time(s) in 9 post(s)
Hi Remco,

The test pass/fail status is not displaying as I expect.

1) For two tests the test status shows green ?.
2) I run test SaveToFile test 1 and status is set to green check mark.
3) I run test SaveToFile test 2 and status for test 1 is set to green ? and status for test 2 is set to green ?.

I'm not sure why running SaveToFile test 2 would cause the status of SaveToFile test 2 to change.

I have about 13 tests with the 2 SaveToFIle tests as the last in the test list.

If I run all tests in the test fixture NCrunch marks the first 12 tests with green check mark.

When NCrunch runs the last 13th test NCrunch resets all 13 tests to green ?.

VS 2010
NUnit 3.0
NCrunch 2.19.0.4

I emailed you screen shots.

Ed

Remco
#2 Posted : Friday, February 26, 2016 11:52:43 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 Ed,

Something I can think could cause this behaviour is if SaveToFile test 2 causes a change to a file in the foreground solution. This would cause NCrunch to consider tests to be out of date. Is the file being saved to by these tests referencing anything using an absolute file path?
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.022 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download