System and method for developing test cases using a test...

Data processing: software development – installation – and managem – Software program development tool – Translation of code

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C717S152000, C717S152000, C717S152000, C702S119000

Reexamination Certificate

active

06332211

ABSTRACT:

BACKGROUND OF THE INVENTION
1. Field of the Invention
The present invention relates to systems and methods of generating test cases, and in particular to a method and system for generating test cases using a test object library.
2. Description of the Related Art
The past two decades have seen a rapid proliferation of computer application programs. To be competitive, software applications must be responsive to customer's rapidly evolving needs, and must be as bug-free as possible. One method of assuring that a software release is bug free is by testing the software with a wide variety of test cases, carefully chosen to test all critical modules in the software product. Such testing procedures are especially important where the software under test is designed to operate across a number of processors or other systems operating in parallel. In such cases, the individuals writing the test cases should be familiar with the operating system, and communication protocols for all of the elements in the system, but unfortunately, there are few individuals with all of the skills necessary to write a complete test program.
The development and execution of software test cases also takes a large investment of time and resources, and can delay the timely introduction of a software product to the marketplace. Because software applications are written and sold in a highly competitive environment, there is an urgent need to reduce the cost and time involved in testing software.
Typically, the process of developing software test procedures begins with the generation of a test plan with test objectives and procedures. That test plan is published and subject to review. If the test plan is approved, detailed automated test code is written. Invariably, the test code does not function as desired, and changes must be made to the code, often implicating major changes in the test plan as well. However, in the rush to bring the software product to market, it often occurs that the test plan is never updated to reflect the new test procedures. Even if the exigencies of the situation permit the test plan to be updated, this effort usually involves a significant amount of time and money.
What is needed is an improved system and method for developing test cases. The present invention satisfies that need by offering a system that relieves the system test designer from writing the automated code from scratch. Instead, the test designer is provided with a library of test objects, each implementing a portion of the automated test procedure. When one of the objects in the library is selected, the user is prompted to select from test object options that define required test parameters, thus simplifying the process. The system and method for developing test cases also relieves the test case designer from the burden of familiarizing themselves with the protocols and interoperability requirement for each and every system element used by the software, and allows the test plan to be updated and documented with significantly less effort.
SUMMARY OF THE INVENTION
To address the requirements described above, the present invention discloses a method, apparatus, article of manufacture, for generating a test code for an automatic procedure.
The method comprises the steps of defining a source file having a plurality of tags associated with a member of a library of executable code objects defining a set of instructions for performing a portion of the automatic test procedure, generating a test plan in a conventional language from the source file, and generating an automated test code for the automated test procedure from the source file. In one embodiment, a test index identifying system elements tested by the test code is generated and incorporated into the test plan, allowing the user to verify that all desired system elements are exercised by the automated test code. Automated test code is generated using a technique wherein commands to the system elements are issued and messages responsive to the commands are intercepted and used to provide test status and error messages. The article of manufacture comprises a data storage device tangibly embodying instructions to perform the method steps described above.
The apparatus comprises means for defining a source file having a plurality of tags, wherein each tag is associated with a member of a library of executable code objects defining a set of instructions for performing a portion of an automatic test procedure, means for generating a test plan in a conversational language from the source file, and means for generating an automated test code for the automatic test procedure from the source file.


REFERENCES:
patent: 5892947 (1999-04-01), DeLong et al.
patent: 6006028 (1999-12-01), Aharon et al.
patent: 6148277 (2000-11-01), Asava et al.
Doong et al., “The ASTOOT Approach to Testing Object-Oriented Programs”, ACM, pp. 101-130, Apr. 1994.*
Tan et al., “A Test Generation Tool for Specifications in the Form of State Machines”, IEEE, pp. 225-229, Jun. 1996.*
Software Engineering Technical Committee, “IEEE Standard for Software Test Documentation”, IEEE, pp. i-vii, 1-52, Sep. 1998.*
IBM Technical Disclosure Bulletin, “Test Case Generator”. vol. 27, No. 5, pp. 3153-3155. Oct. 1984.*
IBM Technical Disclosure Bulletin, “Testing Interactive Graphics by Automatic Test Case Generation”. vol. 26, No. 10B, pp. 5695-5698, Mar. 1984.*
IBM Technical Disclosure Bulletin, “Routine for Building a Test Case Generator”. vol. 29, No. 7, pp. 3189-3190, Dec. 1986.

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

System and method for developing test cases using a test... does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with System and method for developing test cases using a test..., we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and System and method for developing test cases using a test... will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-2592009

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.