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

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.

[1]  Vladimir Tarasov,et al.  Development and Evaluation of a Software Requirements Ontology , 2016, SKY.

[2]  Thomas A. Henzinger,et al.  Real-time system = discrete system + clock variables , 1994, International Journal on Software Tools for Technology Transfer.

[3]  Renata Vieira,et al.  An Ontology for Guiding Performance Testing , 2014, 2014 IEEE/WIC/ACM International Joint Conferences on Web Intelligence (WI) and Intelligent Agent Technologies (IAT).

[4]  Richard Torkar,et al.  Empirical evaluations on the cost-effectiveness of state-based testing: An industrial case study , 2014, Inf. Softw. Technol..

[5]  Boris Motik,et al.  OWL 2 Web Ontology Language: structural specification and functional-style syntax , 2008 .

[6]  Elaine J. Weyuker,et al.  Automated test generation using model checking: an industrial evaluation , 2014, International Journal on Software Tools for Technology Transfer.

[7]  Myra B. Cohen,et al.  An Orchestrated Survey on Automated Software Test Case Generation I , 2013 .

[8]  Weichang Du,et al.  Knowledge-based Software Test Generation , 2009, SEKE.

[9]  Trevor J. M. Bench-Capon,et al.  SweetProlog: A System to Integrate Ontologies and Rules , 2004, RuleML.

[10]  Myra B. Cohen,et al.  An orchestrated survey of methodologies for automated software test case generation , 2013, J. Syst. Softw..

[11]  Stefan Seedorf,et al.  Applications of Ontologies in Software Engineering , 2006 .

[12]  Abdelwahab Hamou-Lhadj,et al.  A Survey of Model-Driven Testing Techniques , 2009, 2009 Ninth International Conference on Quality Software.

[13]  Juan-Zi Li,et al.  Ontology-Based Test Case Generation for Testing Web Services , 2007, Eighth International Symposium on Autonomous Decentralized Systems (ISADS'07).

[14]  Arvinder Kaur,et al.  Systematic Review of Automatic Test Case Generation by UML Diagrams , 2012 .

[15]  Anna Perini,et al.  Ontology-based test generation for multiagent systems , 2008, AAMAS.

[16]  Euripides G. M. Petrakis,et al.  PROTON: A Prolog Reasoner for Temporal ONtologies in OWL , 2011, Expert Syst. Appl..