As [ClassInitialize]
is only called at the beginning, the test name is TestMethod1
. This is stale after the first test run.
TestContext
is set for every method, and thus has the current test name.
Yes, it is a bit silly.
As [ClassInitialize]
is only called at the beginning, the test name is TestMethod1
. This is stale after the first test run.
TestContext
is set for every method, and thus has the current test name.
Yes, it is a bit silly.