webtest、Web 应用程序项目和 tfsbuild
我有一个 Web 应用程序项目 (wap),它已被我们的 tfsbuild 服务器成功部署到开发服务器。
我希望构建服务器在部署后运行我们的网络测试集合。
这样做的最佳实践(或任何实践)是什么?
I have a web application project (wap) that is successfully being deployed to a development server by our tfsbuild server.
I'd like the build server to run our collection of webtests after deployment.
What is a best practice (or ANY practice) for doing this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我使用 NAnt 来做到这一点,尽管使用的是 Cruise Control 而不是 tfs。 tfs支持nant吗? 如果是这样,我真的很容易编写目标来构建和测试所有内容,其中失败的测试=> 失败的构建
I use NAnt to do this, although with Cruise Control not tfs. Does tfs support nant? if so i'ts really easy to write the targets to get everything building and tested, where failed tests => failed builds
我的解决方案涉及在之前的测试目标期间将网站复制到开发服务器。
完成后,我运行了针对该服务器记录的网络测试。
我想答案是,构建它,部署,记录你的测试,然后将测试添加到构建过程中。
My solution involved copying the website to the development server during the beforetest target.
Once that was done I ran the webtests which had been recorded against that server.
I guess the answer is, build it, deploy, record your tests, then add the tests to the build process.