如何在 Team Foundation Server 中自动构建和测试 ASP.NET AJAX 应用程序?
问。我们正在寻找一种自动化的方法 构建过程,运行测试用例并且 存储构建结果。
可能会出现一个问题,因为我们要在其上设置此过程的应用程序是一个 ajax 应用程序——一个高度依赖 JavaScript 的单页操作应用程序。 QA 团队正在使用 QTP 来自动化他们的测试。
问。现在我们已转移到Team Foundation 服务器我们希望在盒子里 而不是使用其他工具 也可以完成的功能 团队基础。使用 Team Foundation 代替是一个不错的选择吗 用于定义测试用例的其他工具。
一旦他们采用并将为应用程序生成测试用例。
问。我们想附上测试 每日构建的案例以及 喜欢有日志/报告进行监控 取得进展。
我认为是这样,但您也可以建议一种可以使上述过程更加有效和快速的做法。
谢谢。
Q. We're looking for a way to automate
build process, run test cases and
store build results.
A problem could be raise as the application on which we want to setup this process is an ajax application -- a one page operation application highly rely on JavaScript. The QA team is using QTP to automate their testing.
Q. Now as we're moved to Team Foundation
Server we would like to be in the box
instead to use some other tool for
functions that can also be done in
Team Foundation. Will it a good choice to use Team Foundation instead
of other tool for defining test cases.
Once, they adopt and will generate test cases for the app.
Q. We would like to attach the test
cases with the daily build and also
like to have log/report for monitoring
build progress.
This, I assume, but you can also suggest a practice which can make the aforementioned process more effective and quick.
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
TFS 有一个内置的测试运行器,但它针对的是 MSTest。您使用什么测试框架? TFS 在后台使用 MSBuild,并具有带钩子的模板构建脚本,允许您自定义流程。请在此处了解更多相关信息。
有一个 TFS Web 测试,但我没有深入研究它,没有什么可以阻止您将一些开源框架(如 Selenium)挂钩到构建过程中
3.TFS 保留所有已完成构建的日志,与 CruiseControl 的情况非常相似。
我推荐“Team Foundation Server 2008 in Action”,因为这是一本很好的书,解释了很多有关 TFS 的内容。
TFS has a built in test runner but it is aimed at MSTest. What test framework are you using? TFS uses MSBuild in the background and has a template build script with hooks to allow you to customize the process. Read up more about it here.
There is an TFS Web Test but I haven't looked into it much there is nothing stopping you hooking in some open source framework like Selenium into the build process
3.TFS keeps a log of all the builds done much the same as CruiseControl would.
I would recommned "Team Foundation Server 2008 in Action" as it is a very good book that explains a lot about TFS.