Patent ID: 7533314
Filing Date: 2009-05-12
Classification: G06F

Abstract:
1. A unit test extending system for use with a unit test written to validate code under test, the unit test having a first function configured to return a single hard coded value to the code under test, the unit test extending system comprising: a computer storage medium having stored thereon the unit test and a test pattern database, the test pattern database including a plurality of test patterns for a plurality of different hard coded value data types; and a processing unit coupled to the computer storage medium, the processing unit being configured to provide a unit test extender engine which identifies a data type of the hard coded value of the first function in the unit test, retrieves one of the plurality of test patterns from the test pattern database stored on the computer storage medium based on the identified hard coded value data type, and automatically causes the processing unit to execute the first function in the unit test a plurality of times, each time returning a different one of a plurality of different values in the retrieved test pattern in order to automatically extend the unit test to allow the first function to test the code under test for responses to the plurality of different values in the retrieved test pattern in addition to the single hard coded value.