lundi 5 octobre 2015

C++ unit test timeout in Visual Studio

Maybe I'm missing something, but is there a way to set an individual timeout per test in Native Unit Test Project in Visual Studio?
I'd like my test to stop running after a specified time (so that I don't have to wait eg. an hour if something goes very wrong with the test).

TEST_METHOD(TestMethod)
{
    // Test code
}

Maybe there's some property to set?

Aucun commentaire:

Enregistrer un commentaire