I suggest you ...

Allow use of DataTestMethod / DataRow in all unit testing projects

As I understand it these attributes are limited to use in WinRT/Metro and now with update 2, Windows Phone 8. It would be very helpful to be able to use them in all test projects e.g.

[DataTestMethod]
[DataRow("a", "b")]
[DataRow(" ", "a")]
public void TestMathos1(string value1, string value2)
{
Assert.AreEqual(value1 + value2, string.Concat(value1, value2));
}

1,128 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Simon VaneSimon Vane shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →
    Robert KranenburgRobert Kranenburg shared a merged idea: Add a RowTest attribute to MSTest to facilitate parameterized tests.  ·   · 

    22 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      ← Previous 1

      Feedback and Knowledge Base