📜  测试覆盖率技术 - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:24.908000             🧑  作者: Mango

代码示例1
1-Statement Coverage: 
It verifies that each line of source 
code has been executed and tested
2-Decision Coverage: It ensures that
every decision in the source code is executed and tested
3-Path Coverage: It ensures that every possible
route through a given part of the 
code is executed and tested