The level and quality of automation dramatically affects software testing activities, determines costs and effectiveness of the testing process, and largely impacts on the quality of the final product. While costs and benefits of automating many testing activities in industrial practice (including managing the quality process, executing large test suites, and managing regression test suites) are well understood and documented, the benefits and obstacles of automatically generating system test suites in industrial practice are not well reported yet, despite the recent progresses of automated test case generation tools. Proprietary tools for automatically generating test cases are becoming common practice in large software organisations, and commercial tools are becoming available for some application domains and testing levels. However, generating system test cases in small and medium-size software companies is still largely a manual, inefficient and ad-hoc activity. This paper reports our experience in introducing techniques for automatically generating system test suites in a medium-size company. We describe the technical and organisational obstacles that we faced when introducing automatic test case generation in the development process of the company, and present the solutions that we successfully experienced in that context. In particular, the paper discusses the problems of automating the generation of test cases by referring to a customised ERP application that the medium-size company developed for a third party multinational company, and presents ABT2.0, the test case generator that we developed by tailoring ABT, a research state-of-the-art GUI test generator, to their industrial environment. This paper presents the new features of ABT2.0, and discusses how these new features address the issues that we faced.
翻译:自动化的数量和质量极大地影响了软件测试活动,决定了测试过程的成本和效力,并在很大程度上影响了最终产品的质量。虽然工业实践中许多测试活动(包括质量流程的管理、实施大型测试套件和管理回归测试套件)自动化的成本和效益都得到了很好的理解和记录,但工业实践中自动生成系统测试套件的好处和障碍还没有很好地报告,尽管自动化测试案例生成工具最近取得了进展。自动生成测试案例工具正在成为大型软件组织中常见的做法,自动生成测试案例的独家工具正在为某些应用领域和测试水平提供商业工具。然而,在中小型软件公司中生成系统测试特征的成本和效益在很大程度上仍然是手工、低效和临时性的活动。 本文报告了我们在引入在中小型公司中自动生成系统测试套件时所面临的技术和组织障碍。 我们介绍了在公司开发过程中自动生成测试案例时遇到的技术和组织障碍,并介绍了我们在这方面成功经历的解决方案。 特别是,本文讨论了将这一测试案例的生成过程自动化、低效和高效的中度测试案例提交给了一家跨国公司,从而向一家定制的测试企业展示了一个新的测试型A。