Efficacy of AETG∗Test Cases as measured by code coverage
نویسندگان
چکیده
Software testing must be performed as efficiently as possible as it can be very expensive. Efficient testing requires a small set of tests that does a good job of locating program faults. The AETG system takes information about the program being tested and generates a small efficient set of test cases [1] [3] [4]. The AETG system has been used in several applications. These include testing communications protocols, telephone switch features, and screen validation software. While the AETG system produced small test sets for these applications, it was not possible in a field environment to do controlled experiments to measure the effectiveness of AETG tests sets. This report presents experiments measuring the effectiveness of AETG test sets. One measure of a test set’s effectiveness is code coverage. Some recent work indicates that good coverage is correlated with ability to find faults [5] [6]. We did several experiments measuring the code coverage of AETG test cases. The AETG test cases gave good coverage. These experiments also gave insight into modeling a system as AETG input. While this report focuses on code coverage, code coverage alone is not a sufficient gauge of a test set’s effectiveness. Tests run on a program missing required functionality may cover all the existing code without detecting that code is missing. Coverage of the program’s requirements is also needed. We did experiments using AETG to do requirements-based testing of screen validation code from two releases of a Bellcore system. By methodically testing the code against the requirements documents, the AETG system found faults not found during normal testing. Section 2 of this report reviews the AETG system. Section 3 provides information about code coverage measurements. Section 4 presents different test generation strategies. Section 5
منابع مشابه
AETG vs. Man: an Assessment of the Effectiveness of Combinatorial Test Data Generation
This paper reports on an industrial study of the effectiveness of test data generation. In the literature on the automatic generation of test data a number of techniques stand out as having received a significant amount of interest. One area that has achieved considerable attention is the use of combinatorial techniques to construct data adequate test sets that ensure all pairs, triples etc. of...
متن کاملThe Automatic Efficient Test Generator (AETG) system
Software testing is expensive, tedious and time consuming. Thus, the problem of making testing more efficient and mechanical, without losing its effectiveness, is very important. The Automatic Efficient Test Generator (AETG) is a new tool that mechanically generates efficient test sets from user defined test requirements. It is based on algorithms that use ideas from statistical experimental de...
متن کاملA deterministic density algorithm for pairwise interaction coverage
Pairwise coverage of factors affecting software has been proposed to screen for potential errors. Techniques to generate test suites for pairwise coverage are evaluated according to many criteria. A small number of tests is a main criterion, as this dictates the time for test execution. Randomness has been exploited to search for small test suites, but variation occurs in the test suite produce...
متن کاملThe AETG System: An Approach to Testing Based on Combinatiorial Design
This paper describes a new approach to testing that uses combinatorial designs to generate tests that cover the pairwise, triple, or n-way combinations of a system’s test parameters. These are the parameters that determine the system’s test scenarios. Examples are system configuration parameters, user inputs and other external events. We implemented this new method in the AETG system. The AETG ...
متن کاملAETGSM Web: A Web Based Service for Automatic Efficient Test Generation from Functional Requirements
AETG Web is a web based service developed by Bellcore researchers for enabling model based testing. In model based testing, the functional test requirements of the system are first modeled and then testcases based on this model are created or generated. AETG Web employs a web based user interface to model the functional requirements of the System Under Test, and automatically generates testcase...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1995