کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
422614 685118 2007 12 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
Measuring a Java Test Suite Coverage Using JML Specifications
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر نظریه محاسباتی و ریاضیات
پیش نمایش صفحه اول مقاله
Measuring a Java Test Suite Coverage Using JML Specifications
چکیده انگلیسی

We propose in this paper a way to measure the coverage of a Java test suite by considering the JML specification associed to the Java program under test. This approach is based on extracting a predicate-based graph from the JML method specifications. We then measure the coverage of this latter w.r.t. nodes of the graph that are visited by the test suite. In addition, we propose to check whether the test suite satisfies classical condition coverage criteria. We also introduce a tool, to be used as precompiler for Java, that is in charge of measuring and reporting the coverage according to these criteria.

ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Electronic Notes in Theoretical Computer Science - Volume 190, Issue 2, 31 August 2007, Pages 21-32