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

RSRP-287538: NUnit Test Runner broken for test fixtures with custom parameterized attributes

$
0
0
Reporter Matt Honeycutt (mattxpo) Matt Honeycutt (mattxpo)
Created Jan 2, 2012 7:06:02 AM
Updated Jan 2, 2012 7:06:52 AM
Priority Normal
Type Bug
Fix versions No Fix versions
State Submitted
Assignee Victor Kropp (victor.kropp)
Subsystem Unit Testing
Affected versions 6.1
Fixed in build No Fixed in build
The Resharper 6.1 test runner has difficulty running this test case:

    public class CustomFixtureAttribute : TestFixtureAttribute
    {
        public CustomFixtureAttribute(params string[] stuff)
            : base(new[] { stuff} )
        {
            
        }
    }

    [CustomFixture("test 1", "test 2")]
    public class Temp
    {
        public Temp(string[] stuff)
        {
            
        }

        [Test]
        public void Then_something_happens()
        {
            Console.WriteLine("Running test case...");
        }
    }

When attempting to run the "Temp" fixture or its test case, the result is always "Inconclusive," and the test is never actually executed.

The test case executes fine using Resharper 6.0 as well as in other NUnit test runners, such as TestDriven.NET.

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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