test class grouping broken when using inheritance

Bug #1248530 reported by Marius Goppelt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
NUnit Test Adapter
Invalid
Undecided
Unassigned

Bug Description

Tested with Test Adapter Release 1.0
Since VS2012 Update 2, you can also group unit tests via Class name. However, when using inheritance, sub classes are grouped via their parent name.

Example:

class Parent
   <Test> Sub DoSth()
End Class

Class Child
   inherits Parent
End Class

DoSth() will turn up two times in the test explorer - in two categories, both called "Parent".

This might or might not be related: TestContext.CurrentContext.Test.FullName returns
"Namespace.Parent.DoSth" for the parent class method, and "Namespace.Child.Parent.DoSth" for the child class. I guess the class hierarchy should be inverted.

Revision history for this message
Marius Goppelt (mgoppelt) wrote :

Sorry, can be trashed. Saw too late the the project has moved.

Changed in nunit-vs-adapter:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.