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

RSRP-287563: MSTest runner hangs when non-abstract [TestClass] contains no [TestMethod]s

$
0
0
Reporter Jon Stelly (Jon.Stelly) Jon Stelly (Jon.Stelly)
Created Jan 3, 2012 8:27:37 PM
Updated Jan 5, 2012 6:48:42 PM
Priority Critical
Type Bug
Fix versions Next
State Open
Assignee Victor Kropp (victor.kropp)
Subsystem Unit Testing
Affected versions 6.1
Fixed in build No Fixed in build
I use a class hierarchy in my MSTest unit test projects to provide some reusable methods across test classes.

If I create a Test Class with the [TestClass] attribute, but no methods which contain the [TestMethod] attribute, the Resharper MSTest runner runs all other tests, but then hangs with the spinning progress icon in the Unit Test Session and never finishes. If I mark the class as abstract, the problem goes away.

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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