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

RSRP-39860: Warn about invalid NUnit TestAttribute usage

$
0
0
Reporter Andrew Serebryansky (andrew.serebryansky) Andrew Serebryansky (andrew.serebryansky)
Created May 2, 2007 8:27:36 PM
Updated Apr 19, 2012 8:33:24 PM
Resolved Apr 19, 2012 8:33:24 PM
Priority Normal
Type Feature
Fix versions 7.0
State Fixed
Assignee Victor Kropp (victor.kropp)
Subsystem Unit Testing
Affected versions No Affected versions
Fixed in build No Fixed in build
It would be nice if ReSharper gave a warning when NUnit's [Test] attribute was used on a method that doesn't match the required signature. I wrote some tests quickly and the signatures were expecting unused parameters and unit test runner didn't show the tests. Took a few minutes to figure out that the signatures were invalid and that's why it was ignored.

Could be handled either as a ReSharper warning on teh [Test] attribute itself or as a warning within unit test runner (such as include the method in the tree but don't run it and give an ignore icon with reason).

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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