Browse Prior Art Database

Automatic Program Test Condition List Generator

IP.com Disclosure Number: IPCOM000060409D
Original Publication Date: 1986-Apr-01
Included in the Prior Art Database: 2005-Mar-08
Document File: 1 page(s) / 11K

Publishing Venue

IBM

Related People

Gierman, JP: AUTHOR

Abstract

A method is described to generate a list of test conditions for testing a newly developed program by a test program. During the component design phase of software development, the structure of each software component is defined in a Program Design Language (PDL). A Test Condition List (TCL) is also written to define all test conditions in the component. Programming code is then written using the PDL as a guide. The Test Condition List should provide the testing tool used to test all paths in a component. Since the Program Design Language and Test Condition List are written separately, the Test Condition List, in most cases, will not define all test conditions and is not generally used as a testing tool. A Test Condition List can be generated by editing the component Program Design Language.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 87% of the total text.

Page 1 of 1

Automatic Program Test Condition List Generator

A method is described to generate a list of test conditions for testing a newly developed program by a test program. During the component design phase of software development, the structure of each software component is defined in a Program Design Language (PDL). A Test Condition List (TCL) is also written to define all test conditions in the component. Programming code is then written using the PDL as a guide. The Test Condition List should provide the testing tool used to test all paths in a component. Since the Program Design Language and Test Condition List are written separately, the Test Condition List, in most cases, will not define all test conditions and is not generally used as a testing tool. A Test Condition List can be generated by editing the component Program Design Language. By using a separate editor, the Test Condition List is generated by editing the component Program Design Language using the following method. Each "If" or "Case" statement is noted if the condition results in an error. All statements except "If" and "Case" statements are deleted. Since all "Conditions Causing Decisions" and "Conditions Causing Errors" have now been defined, the Case statements define break points in the component, bounding the conditions that apply to that case. Other conditions or break points may be defined in special cases. Keeping the Decision and Error conditions in their order of occurrence keeps conditions...