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

RSRP-468645: Get a warning when using [Values] attribute in NUnit tests with [Test] attribute

$
0
0
Reporter Anup Shah (anup@onenaught.com) Anup Shah (anup@onenaught.com)
Created Mar 12, 2018 1:49:29 PM
Updated Apr 14, 2018 6:10:50 PM
Subsystem Code Analysis - C#
Assignee Ivan Serduk (IvanSerduk)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions 2016.3.2
Fixed In Version ReSharper Undefined
VsVersion All Versions

Problem:
Try to use the [Values] attribute in an NUnit test, as seen in any example here: https://github.com/nunit/docs/wiki/Values-Attribute

By default you will get the NUnit.MethodWithParametersAndTestAttribute warning.

Example:

Expected behaviour:
No warning.


Viewing all articles
Browse latest Browse all 106942

Trending Articles



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