کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
550205 872565 2014 17 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
Automatic test case generation for structural testing of function block diagrams
ترجمه فارسی عنوان
تولید نمونه آزمایشی اتوماتیک برای تست ساختار دیاگرام های عملکرد تابع
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر تعامل انسان و کامپیوتر
چکیده انگلیسی


• Our previous study designed a new test coverage criterion, FPCC, for testing FBDs.
• We design an automatic test suite case generator, FPCCTestGen, for FPCC.
• A model checker, UPPAAL, is used in the automation.
• FPCCTestGen can achieve the highest FPCC with a near optimal number of test cases.
• The methodology can be used to other test coverage criteria for data-flow programs.

ContextFunction Block Diagram (FBD) is increasingly used in safety-critical applications. Test coverage issues for FBDs are frequently raised by regulators and users. However, there is little work at this aspect on testing FBD at model level. Our previous study has designed a new data-flow test coverage criterion, FB-Path Complete Condition Test Coverage (FPCC), that can directly test FBD structures and effectively detect function mutation errors. Nevertheless, because FPCC scheme involves several data-flow concepts and thus it is somewhat complicated to comprehend and to generate FPCC-complied test cases. An automatic test suite generator for FPCC is highly desirable.ObjectiveThis study designs an automatic test case generator, FPCCTestGen, for FPCC so as to enhance the practicability and acceptance of the FPCC approach.MethodFirst, a supporting infrastructure for performing automatic FBD-to-UPPAAL-for-FPCC transformation is designed. The supporting infrastructure includes templates, declarations, and functions as building blocks for transformation. Then, for each input FBD, represented in PLCopen XML format, FPCCTestGen performs parsing and converts FBD components into corresponding UPPAAL model components using aforementioned building blocks. After that, queries related to FPCC characteristics are submitted to UPPAAL model checker for verification. Finally, the verification traces are analyzed to obtain a FPCC-complied test suite.ResultsA safety injection system is used as a case study. Preliminary results show that the generated test suite achieves the highest FPCC percentage with a near optimal number of test cases.ConclusionThis automatic test case generation tool is effective and thus, can promote the use of the new test coverage criterion. Methodology used in FPCCTestGen is generic and can be applied to test suite generation for other test criteria on data-flow programs.

ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Information and Software Technology - Volume 56, Issue 10, October 2014, Pages 1360–1376
نویسندگان
, ,