کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
433252 1441668 2014 23 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
NAT2TESTSCRNAT2TESTSCR: Test case generation from natural language requirements based on SCR specifications
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر نظریه محاسباتی و ریاضیات
پیش نمایش صفحه اول مقاله
NAT2TESTSCRNAT2TESTSCR: Test case generation from natural language requirements based on SCR specifications
چکیده انگلیسی


• We generate test cases for reactive systems from natural language requirements.
• Requirements are semantically analyzed using case frames and translated into SCR.
• SCR is used as a hidden formalism to generate test cases using the T-VEC tool.
• The strategy is evaluated using examples from the Aerospace/Automotive industry.
• We outperformed random testing (Randoop) concerning performance and mutation score.

Formal models are increasingly being used as input for automated test generation strategies. Software Cost Reduction (SCR), for example, was designed to detect and correct errors during the requirements phase, also allowing test generation. However, the syntax of SCR and other formalisms are not trivial for non-experts. In this work, we present a strategy for test case generation from natural language requirements that uses SCR as an intermediate and hidden formalism. To minimize textual ambiguity, requirements are written according to a controlled natural language. Syntactically valid requirements are mapped into their semantic representation using case frames, from which SCR specifications are derived. These specifications are then used by the T-VEC tool to generate tests cases. Our strategy was evaluated in four different domains: (i) a vending machine (toy example); (ii) a control system for safety injection in a nuclear power plant (publicly available), (iii) one example provided by our industrial partner Embraer; and (iv) the turn indicator system of Mercedes vehicles (publicly available). As a baseline we considered random testing, and, in general, our strategy outperformed it in terms of performance and mutant-based strength analysis.

ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Science of Computer Programming - Volume 95, Part 3, 1 December 2014, Pages 275–297
نویسندگان
, , , , , , ,