Once tests have been targeted to cover only changed function, any results from unchanged areas of code may then be carried forward from one build to the next.
一旦确定了测试的目标是只覆盖变更的功能,那么来自于未变更代码区域的结果就可能从一次构建转移到下一次。
Once again, the data is carried forward from build to build where relevant, with the changed classes being reflected above the line and tests that cover those changes below.
数据重新从构建带到相关的构建中,被变更了的类被反映在零线以上,而覆盖这些变更的测试在零线以下。
This example tests the data skew in a scenario in which the partitioning key was changed from S_NATIONKEY to S_ID.
这个示例测试的是分区键从 S_NATIONKEY 更改为 S_ID 的场景中的数据倾斜。
Once you've done that, you can gradually change from Test::Unit to Rspec syntax. TestCases can be changed gradually to example groups; tests to examples; and assertions to expectations.
采用这一方式,您就可以逐渐的从Test::Unit过渡到Rspec格式,渐进的完成TestCases到examplegroups、tests到examples和assertions到expectations的转换。
A daily body test measured my weight and body mass index against those from previous days and challenged me to two short balance tests, which changed daily.
每日身体评测将我的体重和身体质量指数和前一日做出比较,并要求我再进行两项简短的平衡测试,而且这项测试每天都有所不同。
If you change your production code between tests, you cannot merge results from testing the original code with results from testing the changed code.
如果您在测试之间变更实际执行程序码,便无法合并原始程序码测试结果和变更过的程序码测试结果。
If you change your production code between tests, you cannot merge results from testing the original code with results from testing the changed code.
如果您在测试之间变更实际执行程序码,便无法合并原始程序码测试结果和变更过的程序码测试结果。
应用推荐