We Moved - This Forum is now Read-Only

Our new community is now available at https://support.submain.com/community/. We will leave historical discussions here in this forum view-only mode for search purposes, but moving forward, please post your questions in the appropriate category in the new community.

  SubMain - CodeIt.Right The First Time!


Support Community for SubMain Products
 Home Products Services Download Purchase Support
in Search
Home Forums Blogs Tutorials/CIR Tutorials/GD Downloads
Welcome to SubMain Community Sign in | Join | Help


Last post 03-29-2011, 8:17 AM by Serge B. (SubMain). 2 replies.
Sort Posts: Previous Next
  •  03-23-2011, 12:48 PM 1688


    I have a TestCaseSource that returns a NUnit.Framework.TestCaseData object with a name. TestMatrix appears to ignore TestCaseData objects with names assigned.

    In the example code below, the test case for 19 is ignored by TestMatrix. TestMatrix will only run the test if the SetName call is removed.

    IEnumerable<object> DataSource()
    yield return new object[] { 17 };
    yield return new TestCaseData(19).SetName("19");
    yield return new TestCaseData(18);

    void Test(int value)

  •  03-29-2011, 7:34 AM 1699 in reply to 1688

    Re: TestCaseData

    Thank you for the reporting an issue. It is clearly a bug.

    Thank you,
    Misha Zhutov
    http://submain.com - .NET Developer Tools | Microsoft VB MVP
  •  03-29-2011, 8:17 AM 1700 in reply to 1699

    Re: TestCaseData

    We will fix this issue. Thank you for reporting it!


    Thank you,
    Serge Baranovsky
    http://submain.com - .NET Developer Tools  |  Microsoft MVP  |  ASP Insider
    » » CodeIt.Right Will Fix Your Code!™ - http://submain.com/codeit.right
    » » C#/VB .NET Coding Guidelines - FREE 100+ page ebook (PDF) http://submain.com/guidelines
View as RSS news feed in XML
Home |  Products |  Services |  Download |  Purchase |  Support |  Community |  About Us |