System for writing and executing unit test cases
AssigneeInternational Business Machines Corporation
InventorsManish Bhide, Yamini Danthuluri, Hari Kiran Maddela
Life of this patent
Estimating the term…
Abstract
A unit test case framework system writes unit test case(s) by passing only module input parameter value(s) that need to be tested, instead of passing all the input parameter value(s).
Claims20
A method generating a test case for a module comprising the steps of:
- a computer receiving a class module selection for generation of a test case from a user;
- the computer receiving default values for each parameter of the test case from the user;
- the computer receiving parameters values to be varied during the test case from the user;
- the computer testing the module by varying only individual parameter values and combinations of parameter values;
- and
- the computer generating a report of results of the test case.
A computer program product for generating a test case for a module by a computer comprising at least one processor, one or more memories, one or more computer readable storage media, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by the computer to perform a method comprising:
- receiving, by the computer, a class module selection for generation of a test case from a user;
- receiving, by the computer, default values for each parameter of the test case from the user;
- receiving, by the computer, parameters values to be varied during the test case from the user;
- testing, by the computer, the module by varying only individual parameter values and combinations of parameter values;
- and
- generating, by the computer, a report of results of the test case.
A computer system for generating a test case for a module, the computer system comprising a computer comprising at least one processor, one or more memories, one or more computer readable storage media having program instructions executable by the computer to perform the program instructions comprising:
- receiving, by the computer, a class module selection for generation of a test case from a user;
- receiving, by the computer, default values for each parameter of the test case from the user;
- receiving, by the computer, parameters values to be varied during the test case from the user;
- testing, by the computer, the module by varying only individual parameter values and combinations of parameter values;
- and
- generating, by the computer, a report of results of the test case.
Dependencies are inferred from the claim text.