Application of Inference Rules to a Software Requirements Ontology to Generate Software Test Cases

被引:5
作者
Tarasov, Vladimir [1 ]
Tan, He [1 ]
Ismail, Muhammad [1 ]
Adlemo, Anders [1 ]
Johansson, Mats [2 ]
机构
[1] Jonkoping Univ, Sch Engn, Box 1026, S-55111 Jonkoping, Sweden
[2] Saab AB, Slottsgatan 40, S-55111 Jonkoping, Sweden
来源
OWL: EXPERIENCES AND DIRECTIONS - REASONER EVALUATION, OWLED 2016 | 2017年 / 10161卷
关键词
Inference rules; Ontology; OWL; Prolog; Requirement specification; Test case generation;
D O I
10.1007/978-3-319-54627-8_7
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Testing of a software system is resource-consuming activity. One of the promising ways to improve the efficiency of the software testing process is to use ontologies for testing. This paper presents an approach to test case generation based on the use of an ontology and inference rules. The ontology represents requirements from a software requirements specification, and additional knowledge about components of the software system under development. The inference rules describe strategies for deriving test cases from the ontology. The inference rules are constructed based on the examination of the existing test documentation and acquisition of knowledge from experienced software testers. The inference rules are implemented in Prolog and applied to the ontology that is translated from OWL functional-style syntax to Prolog syntax. The first experiments with the implementation showed that it was possible to generate test cases with the same level of detail as the existing, manually produced, test cases.
引用
收藏
页码:82 / 94
页数:13
相关论文
共 17 条
[1]   An orchestrated survey of methodologies for automated software test case generation [J].
Anand, Saswat ;
Burke, Edmund K. ;
Chen, Tsong Yueh ;
Clark, John ;
Cohen, Myra B. ;
Grieskamp, Wolfgang ;
Harman, Mark ;
Harrold, Mary Jean ;
McMinn, Phil ;
Bertolino, Antonia ;
Li, J. Jenny ;
Zhu, Hong .
JOURNAL OF SYSTEMS AND SOFTWARE, 2013, 86 (08) :1978-2001
[2]  
[Anonymous], 2014, INT J SOFTW TOOLS TE
[3]  
Bratko I., 2011, Prolog Programming for Artifcial Intelligence, V4th
[4]  
CapGemini HP, 2015, WORLD QUAL REP 2015
[5]   An Ontology for Guiding Performance Testing [J].
Freitas, Artur ;
Vieira, Renata .
2014 IEEE/WIC/ACM INTERNATIONAL JOINT CONFERENCES ON WEB INTELLIGENCE (WI) AND INTELLIGENT AGENT TECHNOLOGIES (IAT), VOL 1, 2014, :400-407
[6]  
Happel H.J., 2006, P WORKSH SEM WORKSH, P5
[7]   Empirical evaluations on the cost-effectiveness of state-based testing: An industrial case study [J].
Holt, Nina Elisabeth ;
Briand, Lionel C. ;
Torkar, Richard .
INFORMATION AND SOFTWARE TECHNOLOGY, 2014, 56 (08) :890-910
[8]  
Judge Business School Cambridge University, 2013, CAMBR U STUD STAT SO
[9]  
Kaur A., 2012, INT J ENG RES TECHNO, V1, P17
[10]  
Laera L, 2004, LECT NOTES COMPUT SC, V3323, P188