假设您有一个巨大的自动化项目,并且正在使用某种测试框架,例如用于大部分自动化的 -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?
发布评论
评论(1)
就我个人而言,我喜欢使用与单元测试相同的框架(添加额外的组件以能够进行上述测试)。
我发现团队在不同级别上切换、协作和贡献变得更加容易。
测试自动化涉及开发人员技能,恕我直言,将其保留在同一平台中会让您的生活更轻松。
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.