mercredi 7 septembre 2016

Issues using DataTestMethod and DataRow attributes in MS Test

I have installed MS Test V2 in my VS 2015 instance using nuGet and I have successfully added DataTestMethod and DataRow attributes to my unit tests and they compile, but now when I build, the tests don't show up in Test Explorer.

Example:

[DataTestMethod]
[DataRow("YAHOO", "GOOGLE")]
public void TestCheckSite(string site)
{
     ... do stuff here ...
}

What am I missing? Is there a Test Explorer upgrade?

Aucun commentaire:

Enregistrer un commentaire