使用现有测试框架的插件或使用完整框架 - 您推荐哪一个?

发布于 2024-09-19 13:09:05 字数 228 浏览 9 评论 0原文

假设您有一个巨大的自动化项目,并且正在使用某种测试框架,例如用于大部分自动化的 -JUnit。然而,您通常会陷入自动化应用程序闪存部分的困境。现在,您通常可以仅针对该问题选择多个工具。一方面,这些工具是独立的,包括所有框架元素(例如 If、数据库查询、多次测试运行等),其他工具是解决特定闪存问题但需要使用框架(例如 JUnit)来创建的插件全面的测试(主要是数据查询和循环)。 您建议使用哪一个?根据您的经验,在这种情况下有哪些优点和缺点?

Say you have a huge automation project and are using a certain testing framework, say -JUnit for most of the automation. However you typically get stuck with automating the flash part of the the application . Now you can usually select several tools for that issue only. on the one hand tehre are tools that are standalone and include all framework elements (such as If, database queries, multiple test runs etc) and others that are plugins that solve the specific flash problem but require to use the framework (e.g.JUnit) for creating s full blown test (mainly data queries and loops).
Which would you recommend to use? what are the pros and cons from your experience in such situations?

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

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

发布评论

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

评论(1

聆听风音 2024-09-26 13:09:05

就我个人而言,我喜欢使用与单元测试相同的框架(添加额外的组件以能够进行上述测试)。

我发现团队在不同级别上切换、协作和贡献变得更加容易。

测试自动化涉及开发人员技能,恕我直言,将其保留在同一平台中会让您的生活更轻松。

Personally I like using the same framework as the one I use for the unit tests (with extra components added into the mix to be able to do tests like the above).

I find it easier for the team to switch, collaborate and contribute at different levels.

Test automation involves developer skills, imho keeping it in the same platform makes your life easier.

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