Method and system for testing behavior of procedures

Data processing: software development – installation – and managem – Software program development tool – Testing or debugging

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C717S124000

Reexamination Certificate

active

06698012

ABSTRACT:

This invention relates to a method and system for testing behaviour of procedures, and more particularly to a method and system for separate testing of the parallel and isolated behaviour of procedures.
BACKGROUND OF THE INVENTION
Many software systems are developed for parallel execution of sever applications. Each software system contains a functionally closed set of procedures. In order to ensure correct implementation of the software system, it is desirable to determine a software contract, i.e., elements and functional specifications of external interfaces of the software system, and carry out conformance testing of the software contract implementation. Since the elements of the software contract are procedures, it is in fact Application Programming Interface (API) testing.
In software systems, some procedures are called sequentially, without parallelism. Some procedures are called from parallel processes.
In order to test the implementation correctness of procedures of software systems, it is desirable to formalize requirements of correct behaviour of procedures during parallel calls.
Currently, the most common method of testing the parallel behaviour of procedures is a parallel call to procedures. During the parallel call, parameters of the call and returned results are recorded in a trace. Then, either manual analysis of a trace is applied, or the special tools for analysis of particular traces are created. Both approaches are very labour-consuming and prone to errors.
In attempting to formalize the requirements of correct parallel behaviour of procedures, various formal languages and calculations, e.g., temporal logic, are applied. However, their common disadvantage is the difficulty of generating the tests from the collected records or traces.
It is therefore desirable to provide a systematic method for testing procedures which enables reliable testing.
SUMMARY OF THE INVENTION
The present invention specifies behaviour of a group of procedures to be tested in a parallel mode separately from consecutive procedures which have no parallelism. The group of procedures is tested based on the specified behaviour, separately from consecutive procedures.
In accordance with an aspect of the present invention, there is provided a method for testing procedures. The method comprises separating parallel procedures from consecutive procedures which have no parallelism; defining a group of parallel procedures to be tested in a parallel mode; specifying behaviour of the group of procedures in the parallel mode; and testing the group of procedures in the parallel mode separately from the consecutive procedures, based on the specified behaviour.
In accordance with another aspect of the present invention, there is provided a test plan design system for planning testing of procedures. The system comprises means for separating parallel procedures from consecutive procedures which have no parallelism; means for defining a group of parallel procedures to be tested in a parallel mode; means for specifying behaviour of the group of procedures in the parallel mode; and a test suite for testing the group of procedures in the parallel mode separately from the consecutive procedures, based on the specified behaviour.


REFERENCES:
patent: 4937765 (1990-06-01), Shupe et al.
patent: 5390131 (1995-02-01), Rohrbaugh et al.
patent: 5394347 (1995-02-01), Kita et al.
patent: 5604895 (1997-02-01), Raimi
patent: 5684946 (1997-11-01), Ellis et al.
patent: 5737609 (1998-04-01), Reed et al.
patent: 5758061 (1998-05-01), Plum
patent: 5781720 (1998-07-01), Parker et al.
patent: 5805795 (1998-09-01), Whitten
patent: 5860004 (1999-01-01), Fowlow et al.
patent: 5860009 (1999-01-01), Uchihira et al.
patent: 5913023 (1999-06-01), Szermer
patent: 5974569 (1999-10-01), Nickles
patent: 6038396 (2000-03-01), Iwata et al.
patent: 6055370 (2000-04-01), Brown et al.
patent: 6058266 (2000-05-01), Megiddo et al.
patent: 6212667 (2001-04-01), Geer et al.
patent: 6249526 (2001-06-01), Loukianov
patent: 6286130 (2001-09-01), Poulsen et al.
patent: 6301688 (2001-10-01), Roy
patent: 6401230 (2002-06-01), Ahanessians et al.
patent: 6408299 (2002-06-01), Weerawarana et al.
patent: 6425118 (2002-07-01), Molloy et al.
patent: 6434500 (2002-08-01), Boehne et al.
patent: 6453292 (2002-09-01), Ramaswamy et al.
patent: 6463582 (2002-10-01), Lethin et al.
patent: 6499114 (2002-12-01), Almstead et al.
patent: 6510402 (2003-01-01), Logan et al.
patent: 0286361 (1988-10-01), None
patent: 0 406 602 (1991-09-01), None
patent: 0834810 (1998-04-01), None
Ferscha et al. N-map: A Virtual Processor Discrete Event Simulation Tool for Performance Prediction in the CAPSE Environment. IEEE. 1995. pp. 276-285.*
Xu et al. Structured Principles for Developing Parallel Computing Programs. IEEE. 1991. pp. 655-660.*
Wing, Jeannette and Gong, Chun, “Testing and Verifying Concurrent Objects,” Journal of Parallel and Distributed Computing, Academic Press, Duluth, MN, vol. 17, No. 1/2, 1993, pp. 164-182, XP000343153.
“ADL 2.0 Translation System,” ADL 2.0 Translation System Design Specification, Verson 1.1, Online!, Aug. 7, 1998, pp. 1-132, XP002215027, http://adl.opengroup.org/documents/ADL2Ds.pdf.
“Formal Derivation of Finite State Machines for Class Testing,”Lecture Notes in Computer Science, Sep. 1998, V. 1493, pp 42-59.
“Measurement and Verification Approaches for AI Systems,” http://kel3.eecs.uic.edu/USAF/appr/docappr.html, Mar. 19, 1999.
“Algebra of Normal Forms,”Summary, Journal of Formalized Mathematics, Vol 2, October 5, 1990.
“Disjunctive Constraint,” http://www.ifcomputer.de/manuals/cons
ode56.html.

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

Method and system for testing behavior of procedures does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Method and system for testing behavior of procedures, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Method and system for testing behavior of procedures will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-3295219

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