Quick xUnit Test Tip - Use xunit.methodDisplay to Clean Up Your Test Results

added by DotNetKicks
4/6/2017 12:58:58 PM

2 Kicks, 160 Views

I recently discovered an xUnit configuration value that was super helpful, so thought I'd write up a quick blog post. Out of the box, xUnit results look like this in Visual Studio Test Explorer: About half of that is noise, specifically the namespace (xUnitDemo) and the class name (DrivingServiceIsValidAgeToDrive).