我希望让TFS构建并部署到我们的手动和自动测试环境中。手动测试-夜间更新自动测试-持续集成
部署后,我希望TFS在另一台服务器(网站的伪客户端)上部署并运行一组web集成测试(SpecFlow / Selenium / nUnit)。然后,我希望TFS整理这些测试的结果并返回报告。
让它工作的最好方法是什么?
发布于 2013-06-01 15:42:41
通常情况下,您会更改构建过程模板以执行您想要的操作。添加要部署的步骤可能是这些定制之一。看看来自Microsoft ALM Rangers的Build Release Deploy build template,其中包括将构建发布到另一台机器的步骤。
您还可以利用WebDeploy并向您的解决方案中添加一组发布配置文件。Team Build will happily execute those steps during build, if told to do so。
在TFS中,您可以使用Test Agent to then execute tests from a remote machine并将结果添加到构建的测试结果中。
看到你喜欢使用TFS,我建议你结合使用TFS2012和Visual Studio2012,它们内置了对执行基于第三方的测试的支持。You'll need to install the NUnit adapter and put the assemblies for it in source control so that Team Build will pick them up。
https://stackoverflow.com/questions/16870590
复制相似问题