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.
[DataRow(" ", "a")]
public void TestMathos1(string value1, string value2)
Assert.AreEqual(value1 + value2, string.Concat(value1, value2));
Kevin Aung commented
This would help a lot. I really like mstest but thinking about switching to NUnit because they have this feature.
Carl Dichter commented
Simon Vane commented
We ended up switching to nunit. There are far too many features missing from mstest to bother persevering with it.
People have been requesting this feature for years.
Its a bit of a slap in the face to see it in Wart/Metro and not have it for real .Net projects.
Kishore Raavi commented
Yes I too agree with this
Joshua DeLong commented
I agree. You can reference the library in your test project now manually but the Test Explorer will not find the test methods. The library on depends on mscorlib, System, and System.Core so there is no reason why we shouldn't be able to use it in other test projects.