Methods and apparatus for identifying test number collisions
AssigneeAgilent Technologies, Inc.
InventorsRobert S. Kolman, Reid Hayhow
Life of this patent
Estimating the term…
Abstract
In a method for assigning test numbers, current testflow context information is maintained during the execution of a testflow. Upon generation of a new test number for a result of a subtest in the testflow, a database of test numbers is indexed using the new test number. If the new test number appears as an entry in the database, a unique identifier associated with the entry is compared to index information comprising 1) an identifier of the subtest, and 2) the current testflow context information. If the unique identifier does not match the index information, a test number collision is identified. Otherwise, the new test number is assigned to the subtest. Other methods and apparatus for identifying test number collisions are also disclosed.
Claims17
A method for assigning test numbers, comprising:
- during execution of a testflow, maintaining current testflow context information;
- upon generation of a new test number for a result of a subtest in the testflow,
- indexing a database of test numbers using the new test number;
- if the new test number appears as an entry in the database, comparing a unique identifier associated with the entry to index information comprising i) an identifier of the subtest, and ii) the current testflow context information;
- and
- if the unique identifier does not match the index information, identifying a test number collision, else assigning the new test number to the subtest.
A method for assigning test numbers, comprising:
- during execution of a testflow, maintaining current testflow context information;
- and
- upon execution of a subtest in the testflow, indexing a database of test numbers using index information comprising i) an identifier of the subtest, and ii) the current testflow context information;
- and,
- if a test number corresponding to the index information exists in the database, assigning the test number to a result of the subtest;
- and
- if a test number corresponding to the index information does not exist in the database,
- generating a new test number by,
- if one or more test number factors have been specified for one or more levels of the current testflow context, using the test number factors to determine a base number for a current test number range, else setting the base number to a default base number;
- and
- setting the new test number to a next test number in the current test number range;
- indexing the database of test numbers using the new test number;
- if the new test number appears as an entry in the database, comparing said index information to a unique identifier associated with the entry;
- and
- if the index information does not match the unique identifier, identifying a test number collision, else assigning the new test number to the subtest.
A test number engine, comprising:
- computer readable media;
- and
- program code, stored on said computer readable media, comprising:
- code to generate a new test number for a result of a subtest in a testflow;
- code to use the new test number as an index into a database of test numbers and, if the new test number appears as an entry in the database, compare a unique identifier associated with the entry to index information comprising i) an identifier of the subtest, and ii) current testflow context information;
- and
- code to identify a test number collision if the unique identifier and index information do not match, else assign the new test number to the subtest.
Dependencies are inferred from the claim text.