More on Unit Testing : TestContext
TestContext
of mstest
. In particular, we focus on its usage in devising effective unit tests. Before moving forward, we would like to outline the previous posts of the series regarding Unit Testing.
What is TestContext?
TestContext
is an abstract class of Microsoft.VisualStudio.TestTools.UnitTesting
namespace. It exposed several properties related to the current context (i.e., current test run). In addition, it provides following supports: (read more)