Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
Automating specification-based test coverage measurement and test selection
Publisher:
  • University of California, Irvine
ISBN:978-0-599-21470-5
Order Number:AAI9922183
Pages:
178
Reflects downloads up to 12 Jan 2025Bibliometrics
Skip Abstract Section
Abstract

Software development is an error-prone process. Testing is the primary tool for detecting defects in the software and has tremendous impact on the quality of the developed product. Testing the implementation of the system alone is often not adequate since it does not take into account what the system is supposed to do. Testing should also involve the system's specification. Incorporating specification-based testing into the development process helps remove inconsistencies between the implementation and the specification. This dissertation provides contributions in the area of specification-based testing.

This dissertation describes structural specification-based testing (SST), a technique that I have developed to support specification-based test selection. Specification-based test selection ensures that the implementation is fully tested with respect to the required elements of the specification. I have also developed a tool, called ADLscope, to provide automated support for SST. SST and ADLscope are intended for unit-level testing and the testing of application programmatic interfaces (APIs).

In short, SST utilizes the specification of a program unit as the basis for measuring test coverage. First coverage conditions are automatically derived from the specification. When the implementation is tested, ADLscope automatically measures how many of the coverage conditions have been covered by the tests. An uncovered condition usually means that certain aspects of the specification have not been thoroughly tested. The tester then uses this information to develop new test data that exercise the uncovered conditions.

This research is validated by empirical studies that report defect detection and usability of SST/ADLscope. A summary of empirical results and observations is provided in the dissertation. The dissertation concludes by discussing future extension of this research.

Contributors
  • Sun Microsystems
  • University of California, Irvine

Recommendations