...
首页> 外文期刊>Information and software technology >Automated test generation technique for aspectual features in AspectJ
【24h】

Automated test generation technique for aspectual features in AspectJ

机译:AspectJ中方面特征的自动测试生成技术

获取原文
获取原文并翻译 | 示例

摘要

Context: Aspect-oriented programming (AOP) has been promoted as a means for handling the modularization of software systems by raising the abstraction level and reducing the scattering and tangling of crosscutting concerns. Studies from literature have shown the usefulness and application of AOP across various fields of research and domains. Despite this, research shows that AOP is currently used in a cautious way due to its natural impact on testability and maintainability.Objective: To realize the benefits of AOP and to increase its adoption, aspects developed using AOP should be subjected to automated testing. Automated testing, as one of the most pressing needs of the software industry to reduce both effort and costs in assuring correctness, is a delicate issue in testing aspect-oriented programs that still requires advancement and has a way to go before maturity. Method: Previous attempts and studies in automated test generation process for aspect-oriented programs have been very limited. This paper proposes a rigorous automated test generation technique, called RAMBUTANS, with its tool support based on guided random testing for the AspectJ programs. Results: The paper reports the results of a thorough empirical study of 9 AspectJ benchmark programs, including non-trivial and larger software, by means of mutation analysis to compare RAMBUTANS and the four existing automated AOP testing approaches for testing aspects in terms of fault detection effectiveness and test effort efficiency. The results of the experiment and statistical tests supplemented by effect size measures presented evidence of the effectiveness and efficiency of the proposed technique at 99% confidence level (i.e. p < 0.01). Conclusion: The study showed that the resulting randomized tests were reasonably good for AOP testing, thus the proposed technique could be worth using as an effective and efficient AOP-specific automated test generation technique.
机译:上下文:面向方面的编程(AOP)已被提升为通过提高抽象级别并减少横切关注点的分散和纠结来处理软件系统模块化的一种方式。文献研究表明,AOP在各个研究领域和领域中都具有实用性和实用性。尽管如此,研究表明,由于AOP对可测试性和可维护性的自然影响,目前仍谨慎使用它。目的:要实现AOP的好处并增加其采用率,使用AOP开发的方面应进行自动化测试。自动化测试是减少软件开发中确保正确性的努力和成本的最紧迫的需求之一,它是测试面向方面的程序中的一个微妙问题,它仍然需要改进,并且在成熟之前还有一段路要走。方法:面向方面的程序在自动测试生成过程中的先前尝试和研究非常有限。本文提出了一种严格的自动化测试生成技术,称为RAMBUTANS,其工具支持基于针对AspectJ程序的引导随机测试。结果:本文报告了通过突变分析比较RAMBUTANS和现有的四种自动AOP测试方法以测试故障检测方面的9个AspectJ基准程序(包括非平凡的和较大的软件)的全面实证研究的结果。有效性和测试工作效率。实验和统计测试的结果再加上效应量的测量结果,证明了该技术在99%置信度下的有效性和效率(即p <0.01)。结论:研究表明,所得的随机测试对于AOP测试而言相当合理,因此,该技术值得作为一种有效且高效的AOP专用自动化测试生成技术使用。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号