It is typically used to associate a test method with a bug.
[Ignore]
[WorkItem(12345)] // bug 12345 describes why this test was ignored
[TestMethod]
public void IgnoredButWithWorkItemTest()
{
//The actual code is not important;
}
Комментариев нет:
Отправить комментарий