Use stubs for state based testing, use mocks for interaction based testing.
用stub来做基于状态的测试,使用mock做基于交互的测试。
Model-based testing, however, is often used for testing the interaction of components.
基于模型的测试则通常用于测试组件之间的交互。
Model-based testing, however, is often used for testing the interaction of components.
基于模型的测试则通常用于测试组件之间的交互。
应用推荐