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

RSRP-293018: Async MSTest Unit Tests are not recognised as tests and cannot be run in a ReSharper unit test session

$
0
0
Reporter James Skimming (JSkimming) James Skimming (JSkimming)
Created Apr 6, 2012 2:40:34 AM
Updated Apr 6, 2012 2:40:34 AM
Priority Normal
Type Bug
Fix versions No Fix versions
State Submitted
Assignee Victor Kropp (victor.kropp)
Subsystem Unit Testing
Affected versions 7.0 Preview
Fixed in build No Fixed in build
I am using Visual Studio 11 with ReSharper Build 7.0.10.157. I am writing Unit Tests (using MSTest) against asyncronious methods as described here:

http://www.richard-banks.org/2012/03/how-to-unit-test-async-methods-with.html

The tests run when I execute them using the built in mechanism in Visual Studio, but Resharper does not recognised the methods (marked with the TestMethod attribute) as a unit test when they return a Task. Normal synchronous Unit Tests work as expected with ReSharper.

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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