LCD speaker test 屏幕喇叭测试
Speaker Test Engine 语音测试引擎
System Speaker Test 系统喇叭测试
RT-Speaker pure sound Test System 扬声器纯音测试系统
RT-Speaker PureSound Test System 扬声器纯音测试系统
The web application we have created so far works, and we can test it manually by creating, reading, updating, and deleting the Speaker and Talk entities.
目前所创建的web应用程序已经可以运行,我们可以通过创建、读取、更新和删除Speaker和Talk实体来手工测试。
We added a constraint in our Speaker entity that age should be between 25 and 60, but the test suite does not take that constraint into consideration.
我们在Speaker实体中加入一个约束,年龄应在25到60之间,但测试套件对此约束不予考虑。
More to the point, you could easily inject a mock object instead of a real Speaker implementation, and you could do a test without affecting the rest of your code base.
更关键的是,您可以轻松地注入模拟对象来替代真正的Speaker实现,并且无需影响其他的代码基就可以进行测试。
应用推荐