mercredi 28 janvier 2015

How can i run multipe MS unit tests with different configurations

I have a unit test initializer:



[TestClass]
public class TestMain
{
[AssemblyInitialize]
public static void Init(TestContext context)
{
if (Game.LogIn("xxxxx@gmail.com", "xxxxxxx"))
{
//get all entities from db
}
}
}


then, run test checks the integrity of the user entities. How can i run this tests with different parameters (login/password)?


Aucun commentaire:

Enregistrer un commentaire