我得到以下类型的白盒测试列表:
Control flow testing
Data flow testing
Branch testing
Statement coverage
Decision coverage
Modified condition/decision coverage
Prime path testing
Path testing
谁能通过代码给我举个例子,说明主要路径测试和路径测试有什么区别?
我得到以下类型的白盒测试列表:
Control flow testing
Data flow testing
Branch testing
Statement coverage
Decision coverage
Modified condition/decision coverage
Prime path testing
Path testing
谁能通过代码给我举个例子,说明主要路径测试和路径测试有什么区别?
素数路径测试是路径测试的一种特殊情况,其中:“如果 (p) 是最大简单路径,即 (p) 不能在不失去简单性的情况下扩展,则路径 (p) 是素数”。
这是一个很好的解释: http ://studylib.net/doc/5705864/prime-path-coverage