Home    eJManager.com Add Your Journal   |    Follow on Twitter   |    Subscribe to List

Directory for Medical Articles
 

Open Access

Original Article

JJCIT. 2015; 1(Jordanian Journal of Computers and Information Technology, Vol. 1, No. 1, 2015): 15-30


Using Formal Methods for Test Case Generation According to Transition-Based Coverage Criteria

Ahmad A. Saifan, Wafa Bani Mustafa.

Abstract
- Formal methods play an important role in increasing the quality, reliability, robustness and effectiveness of software. Also the uses of formal methods, especially in safety-critical systems, help in the early detection of software errors and failures which will reduce the cost and effort involved in software testing.
The aim of this paper is to prove the role and the effectiveness of formal specification for the cruise control system (CCS) as a case study. A CCS formal model is built using Perfect formal specification language, and its correctness is validated using the Perfect Developer toolset. We develop a software testing tool in order to generate test cases using three different algorithms. These test cases are evaluated to improve their coverage and effectiveness. The results show that random test case generation with full restriction algorithm is the best in its coverage results; the average of the path coverage is 77.78% and the average of the state coverage is 100%. Finally, our experimental results show that Perfect formal specification language is appropriate to specify CCS which is one of the most safety-critical software systems, so the process of detecting all future possible cases becomes easier.

Key words: Formal Method, Perfect Developer, test case generation, cruise control system


Full text links

Share this Article




ScopeMed Home
Follow ScopeMed on Twitter
Article Tools
Job Opportunities/Service Offers
eJManager OJMS
eJPort Journal Hosting
About ScopeMed
Terms & Conditions
Privacy Policy
Suggest a Journal
Publisher Login
Contact Us

The articles in Scopemed are open access articles licensed under the terms of the Creative Commons Attribution Non-Commercial License (http://creativecommons.org/licenses/by-nc/3.0/) which permits unrestricted, non-commercial use, distribution and reproduction in any medium, provided the work is properly cited.
ScopeMed is a Service of eJManager LLC Publishing for Scientific Publications. Copyright © ScopeMedź Information Services.
Scopemed Buttons