.Net Development

Add Result File with TestContext

This is the last post of the series regarding TestContext. The other posts of this series include: On Unit Testing: * Why is Unit Testing so Important? * TDD in a Nutshell. * More on Unit

TestContext in Data Driven Unit Tests

TestContext consolidates the support of Data Driven Unit Tests via mstest by allowing access to the datasource (e.g., database table), associated with the present code under test. This post describes this very

Performance Measurement with TestContext

TestContext class is equipped with two public methods: BeginTimer and EndTimer, which allow measuring the execution time of an individual unit test. In this way, time required to execute code under test can