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

Notification

Icon
Error

"Ignore this component completely" setting is irreversible
openshac
#1 Posted : Wednesday, June 29, 2016 5:04:01 PM(UTC)
Rank: Member

Groups: Registered
Joined: 1/19/2015(UTC)
Posts: 14
Location: United Kingdom

Thanks: 6 times
Was thanked: 1 time(s) in 1 post(s)
The component setting "Ignore this component completely" when set to False initially greys out the component.
However at some later point in time it completely disappears from the NCrunch Configuration window.

How do you set "Ignore this component completely" back to True in this scenario.

  1. Open the NCrunch Configuration window
  2. Select a component
  3. Set General > Ignore this component completely = False (observe that the component greys out).
At some point the component disappears completely.
Remco
#2 Posted : Wednesday, June 29, 2016 10:46:42 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,974

Thanks: 929 times
Was thanked: 1256 time(s) in 1169 post(s)
Hi,

Thanks for sharing this issue.

What you've described is not intended behaviour. When a component is ignored, it should stay in the configuration window (greyed out) until it is unignored.

Do you have any more information about what might have triggered it to disappear? Do you regularly remove or unload the project from the solution?

If this has happened and you need to restore the component, the setting is stored in the .ncrunchproject XML file. Changing it with the solution closed should allow the project to resurface.
openshac
#3 Posted : Thursday, June 30, 2016 7:28:44 AM(UTC)
Rank: Member

Groups: Registered
Joined: 1/19/2015(UTC)
Posts: 14
Location: United Kingdom

Thanks: 6 times
Was thanked: 1 time(s) in 1 post(s)
On further investigation I am now seeing the component disappear almost immediately. When the component is ignored a number of the components drop out of the Configuration window. At this moment all the tests in the Test window disappear whilst NCrunch reloads them. When the components are added back into the Configuration window the ignored component is now missing.

The workout around you provided does work but it a bit painful to use regularly.
Remco
#4 Posted : Thursday, June 30, 2016 7:58:09 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,974

Thanks: 929 times
Was thanked: 1256 time(s) in 1169 post(s)
I'm having some difficulty reproducing this.

Would you be able to submit a bug report after you've had a project disappear in the config window in this way? Make sure to turn off your automatic execution so that the log file in the report contains as much relevant data as possible.

Are you able to get this to happen in a sample solution that you can share with me?
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.033 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download