关于[Tests code coverage in Visual Studio Code with C# and .Net Core]的摘要:
While writing tests for you code goes without saying, there is much to be said about code coverage of tests. How much of your code is actually covered by these tens of tests you just wrote? If you work in a TDD approach most probably you don't have such "mundane" questions. Of course you code is 100% covered. You did make sure every test failed before you added that line in your code to make it pass... and that conditional statement... or did you?
原文地址: https://www.albertobarnoy.blog/2019/03/tests-code-coverage-in-visual-studio.html