定时执行Web测试
2009-09-09 11:50 敏捷的水 阅读(643) 评论(0) 编辑 收藏 举报
Web测试是比较耗时,如果每次构建完成去执行的话,需要等待很长时间。
我们可以为WEB测试每天夜间定时执行。我们可以使用CruisineControl.Net来完成
<cruisecontrol> <project name="WebTesting"> <tasks> <nunit> <path>C:\Program Files\NUnit 2.5.2\bin\net-2.0\nunit-console.exe</path> <assemblies> <assembly>c:\Testing\Web.Test.dll</assembly> </assemblies> </nunit> </tasks> <triggers> <scheduleTrigger time="23:30" buildCondition="ForceBuild" name="Scheduled"> </scheduleTrigger> </triggers> <labeller type="defaultlabeller"> <prefix>WebTesting-</prefix> <incrementOnFailure>true</incrementOnFailure> </labeller> </project> </cruisecontrol>注意,这里需要测试的DLL可以放到sourcecontrol里,这样可以和更新同步
扫码关注公众号,了解更多管理,见识,育儿等内容
作者: 王德水
出处:http://www.cnblogs.com/cnblogsfans
版权:本文版权归作者所有,转载需经作者同意。
出处:http://www.cnblogs.com/cnblogsfans
版权:本文版权归作者所有,转载需经作者同意。