您的位置:首页 > 运维架构 > 网站架构

white学习13(官方网站的内容),介绍White.NUnit

2011-04-26 14:26 281 查看
White.NUnit

This dll can be used for doing verification in automated tests.

Verify/Assert
Both of these perform assertions of some kind. Verify doesn’t cause the test to immediately fail while assert does that. There are reasons to use both.
Verify can be used when you want to collect all the failures and fail the test in the end. This makes it easier to fix the problems or report them.
Assert should be used when there is no point in continuing with the test if certain condition is not met.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: