当前位置: X-MOL 学术Software Qual. J. › 论文详情
Our official English website, www.x-mol.net, welcomes your feedback! (Note: you will need to create a separate account there.)
Test case generation based on mutations over user execution traces
Software Quality Journal ( IF 1.9 ) Pub Date : 2020-05-01 , DOI: 10.1007/s11219-020-09503-4
Ana C. R. Paiva , André Restivo , Sérgio Almeida

Automatic test case generation is usually based on models of the software under test. However, those models may not exist or may be outdated and so, the test case generation must resort to other artifacts. In a software maintenance context, test cases must adapt to software changes and should be improved continuously to test adequately the new versions of the software. Mutation testing is a fault-based testing technique that evaluates the quality of the tests by applying simple changes to the source code and checking afterwards if the tests are able to detects those changes. This paper presents a web testing approach in which test cases are generated from user execution traces as a way to deal with the absence of models. In addition, it applies mutation operators over those test cases to enrich the test suite. The mutation operators were designed so as to mimic possible real failures. The additional tests are analyzed, and those that generate different outcomes are kept because they exercise additional behavior of the web application under test. At the end, the overall approach is illustrated and validated in a case study.

中文翻译:

基于用户执行跟踪变化的测试用例生成

自动测试用例生成通常基于被测软件的模型。然而,这些模型可能不存在或可能已经过时,因此,测试用例生成必须求助于其他工件。在软件维护环境中,测试用例必须适应软件变化并且应该不断改进以充分测试软件的新版本。变异测试是一种基于故障的测试技术,它通过对源代码应用简单的更改并随后检查测试是否能够检测到这些更改来评估测试的质量。本文提出了一种 Web 测试方法,其中从用户执行跟踪生成测试用例,作为处理模型缺失的一种方法。此外,它在这些测试用例上应用变异算子来丰富测试套件。变异算子的设计是为了模拟可能的真实失败。分析额外的测试,并保留那些产生不同结果的测试,因为它们执行被测 Web 应用程序的额外行为。最后,在案例研究中说明并验证了整体方法。
更新日期:2020-05-01
down
wechat
bug