Click here to Skip to main content
14,636,145 members
Articles » General Reading » CodeProject FAQs » General » Revisions

Have Less Production Issues with the Help of xUnit

24 May 2020CPOL
By using xUnit the right way, your logging can be improved and production problems can be solved easily or even prevented
Considering the way many tests with xUnit are written, two things need to be improved: the tests need to be more realistic and should prevent having limited logging. Making tests more realistic will make production problems less likely, Moreover, testing what has been logged prevents the problem of having to limited logging details to solve a production issue once it occurs. This article explains how to prevent such problems in your xUnit tests.
This is an old version of the currently published tip/trick.

Only logged in members can view this content

Please go to the CodeProject FAQs Table of Contents to view the list of available articles in this section.