开源项目中的回归测试?

发布于 2024-07-23 21:35:31 字数 1542 浏览 11 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

逆夏时光 2024-07-30 21:35:31

以下是KDE4的单元测试开发文档:
http://techbase.kde.org/Development/Tutorials/Unittests

在此博客中可以看到QtSoftware/Nokia已经向全世界开放了所有回归测试应用: http://ariya.blogspot.com/2009/06/all-blessings-in-may.html
或直接链接到单元测试+基准:

此博客链接自上一篇博客:http://qt.gitorious.org/qt/qt/trees/master/tests/auto blogspot.com/2009/05/open-qt-repository-and-hidden-gems.html" rel="nofollow noreferrer">http://benjamin-meyer.blogspot.com/2009/05/open-qt-repository -and-hidden-gems.html 也请阅读它:)

您想查看 WebKit 回归测试的保存位置吗? 或者你想用谷歌搜索一下吗?

Here is the documentation of KDE4's unit testing development:
http://techbase.kde.org/Development/Tutorials/Unittests

In this blog you can see that QtSoftware/Nokia has opened all the regression testing applications to the world: http://ariya.blogspot.com/2009/06/all-blessings-in-may.html
or direct link to the unit tests+benchmarks:

This blog is linked from the previous one: http://benjamin-meyer.blogspot.com/2009/05/open-qt-repository-and-hidden-gems.html read it as well :)

Would you like to see where the WebKit regression tests are saved? Or you want to google for it?

〃安静 2024-07-30 21:35:31

jQuery 进行了大量的回归测试,因为它支持相当多的浏览器和大量复杂的测试(特别是支持 css)。 我不确定这是否是一般回归的最佳示例,但对于 Web 开发来说,这是一个很好的案例,因为它处理非常困难的任务,针对许多不断变化的浏览器进行回归测试,即使在版本内。 尽管很难想出更纯粹的情况,外部世界的变化可能会导致您的代码回归:(。

Resig 谈论单元测试 javascript 的困难。

Resig 谈论 Fireunit,一个用于测试 jQuery 的工具

jQuery does a lot of regression testing, because it's supporting quite a few browsers and a lot of intricate tests (in particular, supporting css). I'm not sure if it's the best example or not for general regression, but for web development, it's a great case because it handles a VERY difficult task, regression testing against many browsers which are constantly changing, even within versions. Though it is hard to come up with a more pure case where changes in the external world can cause your code to regress :(.

Resig talking about difficulties unit testing javascript.

Resig talking about Fireunit, a tool used in testing jQuery

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文