Unit Test Sessions improvement request

Answered

Please consider the following example

[TestClass]
public class MyClassTests {
   ... some test code here
  [TestClass]
  public class MyFeatureTests : MyClassTests
    ... more test code here
  }
}

Any tests defined on MyClassTests will run for each feature test class, as it should, but the test sessions window will not recognize the base class and thus not show that class name in the hierarchy. It would be nice if the base class is included in the hierarchy for test classes that inherit from base test classes.

E.g.

My.Test.Namespace
-- MyClassTest
---- MyFeatureTest

Today we only get namespace and feature, the base class is never shown

My.Test.Namespace
-- MyFeatureTest

 

1 comment
Comment actions Permalink
Official comment

Hello Patrik!

 

Thank you for contacting us.

Corresponding feature request is reported here - https://youtrack.jetbrains.com/issue/RSRP-199079

You are welcome to comment or vote for it.

Thank you.

Please sign in to leave a comment.