当前位置: X-MOL 学术Int. J. Softw. Eng. Knowl. Eng. › 论文详情
Our official English website, www.x-mol.net, welcomes your feedback! (Note: you will need to create a separate account there.)
Aspect-Oriented Approach for Testing Software Applications and Automatic Aspect Creation
International Journal of Software Engineering and Knowledge Engineering ( IF 0.6 ) Pub Date : 2019-11-01 , DOI: 10.1142/s0218194019500438
Manish Jain 1 , Dinesh Gopalani 1
Affiliation  

The existing techniques for software testing can be used to perform only a particular type of testing, and moreover proficiency is required to write the automation test scripts using these techniques. This paper proposes a novel software testing approach using Aspect-Oriented Programming (AOP) that alone suffices for carrying out most of the types of software testing and thus obliterates the need of using distinctive tools for different types of testing. Nevertheless, AOP is a new programming paradigm and not all testers have the proficiency of working with it. Hence, a domain-specific language named Testing Aspect Generator Language (TAGL) was developed which has got a very low learning curve. Using TAGL, testers can write the testing code in the form of natural language-like statements. Further, the lexical analyzer and parser, written using lex and yacc, convert the TAGL statements into actual testing code in the form of AOP. The proposed approach was applied for the testing of widely used open source projects and remarkable bugs were detected into them. A detailed comparison as to how our approach is effective than the conventional testing techniques is provided.

中文翻译:

面向方面的测试软件应用程序和自动方面创建的方法

现有的软件测试技术只能用于执行特定类型的测试,而且需要熟练使用这些技术编写自动化测试脚本。本文提出了一种使用面向方面编程 (AOP) 的新型软件测试方法,该方法单独足以执行大多数类型的软件测试,从而消除了为不同类型的测试使用独特工具的需要。然而,AOP 是一种新的编程范式,并不是所有的测试人员都能熟练使用它。因此,开发了一种名为测试方面生成器语言 (TAGL) 的特定领域语言,它的学习曲线非常低。使用 TAGL,测试人员可以以类自然语言语句的形式编写测试代码。此外,词法分析器和解析器,使用 lex 和 yacc 编写,将 TAGL 语句以 AOP 的形式转换为实际的测试代码。所提出的方法被应用于广泛使用的开源项目的测试,并在其中检测到显着的错误。提供了关于我们的方法如何比传统测试技术有效的详细比较。
更新日期:2019-11-01
down
wechat
bug