Browse Prior Art Database

Test Case Generator

IP.com Disclosure Number: IPCOM000044052D
Original Publication Date: 1984-Oct-01
Included in the Prior Art Database: 2005-Feb-05
Document File: 2 page(s) / 72K

Publishing Venue

IBM

Related People

McGlynn, KP: AUTHOR

Abstract

A technique for generating software test cases from formatted functional specifications is described. Formal software testing, including the use of written test cases and test case generators, tends to have different meanings for different development groups. A single test case might be a five sentence narrative stating the basic functions to be tested or a very detailed document stating how certain instructions should execute. Many test cases are handwritten and require an in-depth understanding of the application. Some also undergo various levels of inspection to insure quality. The test development process can be very time-consuming, requiring subjective interpretation. The technique to be discussed reduces test case development time by using a test case generator.

This text was extracted from a PDF file.
At least one non-text object (such as an image or picture) has been suppressed.
This is the abbreviated version, containing approximately 52% of the total text.

Page 1 of 2

Test Case Generator

A technique for generating software test cases from formatted functional specifications is described. Formal software testing, including the use of written test cases and test case generators, tends to have different meanings for different development groups. A single test case might be a five sentence narrative stating the basic functions to be tested or a very detailed document stating how certain instructions should execute. Many test cases are handwritten and require an in-depth understanding of the application. Some also undergo various levels of inspection to insure quality. The test development process can be very time-consuming, requiring subjective interpretation. The technique to be discussed reduces test case development time by using a test case generator. Given the desired sequence of events (function numbers) from the formal program specifications, the test case generator will generate "user friendly" test cases. Once a desired sequence of function numbers has been determined, generating and performing the formatted test case are simple and straight- forward. Test development time can be concentrated on, identifying desired operational sequences and requiring minimal time to document the formal test steps. All functions in the programming functional specifications (PFS) are identified with a unique number (function number) and a "results data base" is created in editor format using the function number as the key. This data base becomes the source file for a function retrieval macro. This may be done manually or using a test case results data base build routine. The results data base should include one edit subroutine for each function. Each subroutine consists of a label (function...