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

Notification

Icon
Error

Retain collapsed nodes of tree in Tests window
johnhamm
#1 Posted : Friday, April 17, 2020 6:36:36 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 4/17/2020(UTC)
Posts: 4
Location: United States of America

Was thanked: 1 time(s) in 1 post(s)
I have some branches of the Tests window collapsed (since they are ignored tests). However, it seems that NCrunch keeps autoexpanding the entire tree. Is there a way to change this behavior to where it keeps the collapsed nodes collapsed?
Remco
#2 Posted : Friday, April 17, 2020 11:32:51 PM(UTC)
Rank: NCrunch Developer

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

Thanks: 957 times
Was thanked: 1286 time(s) in 1193 post(s)
Hi, thanks for posting.

The behaviour of the tree is set to always auto expand new tests when they are added to the tree (assuming that they match the filter). This is done so that you can easily see which tests are failing without needing to pick up the mouse and manually expand them all the time.

I would recommend using the filter to instead hide the ignored tests. Usually, they are off by default. There is a button on the Tests Window that allows you to show/hide the ignored tests.
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