Reporter | Bendik August Nesbø (XplittR) |
---|---|
Created | Apr 26, 2018 9:53:25 AM |
Updated | Apr 26, 2018 9:53:25 AM |
Subsystem | No Subsystem |
Assignee | Alexander Ulitin (alexander.ulitin) |
Priority | Normal |
State | Submitted |
Type | Bug |
Fix version | No Fix versions |
Affected versions | 2018.1.1 |
Fixed In Version ReSharper | Undefined |
VsVersion | VS 2017 RTM |
Removing the second-to-last unit-test erroneously collapses the test-tree in the Unit Test Sessions-window.
My Unit Test Sessions is set to group by Projects and Namespace
I have two unit-tests open, with the following structure:
[RootNamespace]
[RootNamespace.FolderNamespace1]
[UnitTestClass1]
[UnitTest1]
[RootNameSpace.FolderNamespace2]
[UnitTestClass2]
[UnitTest2]
Removing the any of the [RootNameSpace.FolderNamespace2], [UnitTestClass2] or [UnitTest2]-nodes will correcly remove the [RootNameSpace.FolderNamespace2]-node, but will also collapse the [RootNameSpace.FolderNamespace1]-node.
Second (related) problem:
Adding a second unit-test also erroneously collapses the tree, and groups the tests differently?
I have the following Test Session open:
[RootNamespace]
[RootNamespace.FolderNamespace1]
[UnitTestClass1]
[UnitTest1]
When I add the same [UnitTest2] to the session, I get the following structure:
[RootNamespace] (project-icon)
[RootNamespace] (namespace icon, collapsed)
If I expand the second [RootNamespace] and all its descendants, I get the full tree:
[RootNamespace] (project-icon)
[RootNamespace] (namespace icon)
[RootNamespace.FolderNamespace1]
[UnitTestClass1]
[UnitTest1]
[RootNameSpace.FolderNamespace2]
[UnitTestClass2]
[UnitTest2]
The bugs:
- Annoying collapsing of the unit-test tree, forcing me to continuously expand the tree when adding/removing tests.
- Inconsistent behavior when it comes to the RootNamespace-node. Sometimes 1 node, sometimes 2 nodes.