Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-469410: Erroneous collapsing of tests in Unit Test Sessions

$
0
0
Reporter Bendik August Nesbø (XplittR) 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.

Viewing all articles
Browse latest Browse all 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>