Test recording method and device, and computer-readable recording medium storing test recording program
AssigneeFujitsu Limited
InventorsHideya Ikeda, Kentaro Nishimura, Minoru Yamamoto
Life of this patent
Estimating the term…
Abstract
A test recording method capable of preventing omission of tests for software to be delivered. When test input data is entered from a testing client, a data transmitter transmits the data to a testing server. Upon reception of test output data and a hash value from the testing server, an evaluation unit determines a test result, pass or fail, by comparing the test output data with the output pattern described in a test specification. The result recorder stores a test log in a log memory, the test log including the test result and the hash value received from the testing server.
Claims8
A test recording method for recording a result of testing a program developed based on prescribed design specifications, comprising:
- detecting if a related test was conducted most recently, the related test specified by a related test number described in a current test specification out of a plurality of test specifications each defining contents of a test, test numbers being given to the plurality of test specifications, a test number of a related test specification corresponding to the related test being set as the related test number in each of the plurality of test specifications, the related test required to be conducted most recently;
- transmitting test input data to a testing server only when the related test was conducted most recently, the test input data entered from a testing client, the testing server provided with the program and an output processing program describing a process for adding a hash value to test output data of the program, the hash value generated from the program by an algorithm that makes a different hash value when the program is modified;
- determining a test result, pass or fail, by comparing the test output data with an output pattern, the test output data output from the testing server running the program in response to the test input data, the output pattern described in the current test specification;
- and
- storing a test log in a log memory, the test log including the test result and the hash value generated by the testing server running the output processing program.
A test recording device for recording a result of testing a program developed based on prescribed design specifications, comprising:
- a processor;
- and
- a memory storing computer-readable instructions, execution of the instructions by the processor configuring the processor to include:
- a detection block for detecting if a related test was conducted most recently, the related test specified by a related test number described in a current test specification out of a plurality of test specifications each defining contents of a test, test numbers being given to the plurality of test specifications, a test number of a related test specification corresponding to the related test being set as the related test number in each of the plurality of test specifications, the related test required to be conducted most recently;
- a data transmission block for transmitting test input data to a testing server only when the related test was conducted most recently, the test input data entered from a testing client, the testing server provided with the program and an output processing program describing a process for adding a hash value to test output data of the program, the hash value generated from the program by an algorithm that makes a different hash value when the program is modified;
- an evaluation block for determining a test result, pass or fail, by comparing the test output data with an output pattern, the test output data output from the testing server running the program in response to the test input data, the output pattern described in the current test specification;
- and
- a result recording block for storing a test log in a log memory, the test log including the test result and the hash value generated by the testing server running the output processing program.
A computer-readable recording medium storing a test recording program to record a result of testing a program developed based on prescribed design specifications, the test recording program causing a computer to perform functions including:
- detecting if a related test was conducted most recently, the related test specified by a related test number described in a current test specification out of a plurality of test specifications each defining contents of a test, test numbers being given to the plurality of test specifications, a test number of a related test specification corresponding to the related test being set as the related test number in each of the plurality of test specifications, the related test required to be conducted most recently;
- transmitting test input data to a testing server only when the related test was conducted most recently, the test input data entered from a testing client, the testing server provided with the program and an output processing program describing a process for adding a hash value to test output data of the program, the hash value generated from the program by an algorithm that makes a different hash value when the program is modified;
- determining a test result, pass or fail, by comparing the test output data with an output pattern, the test output data output from the testing server running the program in response to the test input data, the output pattern described in the current test specification;
- and
- storing a test log in a log memory, the test log including the test result and the hash value generated by the testing server running the output processing program.
Dependencies are inferred from the claim text.