Diagnosing Failing Tests More Easily and Improving Test Code Readability

added by DotNetKicks
5/8/2019 2:09:22 AM


Sometimes the assertions that come bundled with a testing framework are suboptimal in that they do not provide test failure messages that allow easier understanding of why/where the test failed. If the test failure message does not provide enough information, it may be necessary to run the test in debug mode just to find out what went wrong before fixing it.