Based on use cases, testing can progress on a limited level since use cases only describe the interactions between actors and the system.
基于这些用例,测试可以在一个受限层次上进行,因为用例只描述执行者和系统的交互。
Use stubs for state based testing, use mocks for interaction based testing.
用stub来做基于状态的测试,使用mock做基于交互的测试。
When performing testing based on use cases, the most obvious technique is the process cycle test (or algorithm test).
当执行基于用例的测试时,最明显的技术是过程循环测试(或规则测试)。
应用推荐