WO2001022228A1 - System and method for producing a verification system for verifying procedure interfaces - Google Patents

System and method for producing a verification system for verifying procedure interfaces Download PDF

Info

Publication number
WO2001022228A1
WO2001022228A1 PCT/RU1999/000340 RU9900340W WO0122228A1 WO 2001022228 A1 WO2001022228 A1 WO 2001022228A1 RU 9900340 W RU9900340 W RU 9900340W WO 0122228 A1 WO0122228 A1 WO 0122228A1
Authority
WO
WIPO (PCT)
Prior art keywords
test
sources
driver
piut
generating
Prior art date
Application number
PCT/RU1999/000340
Other languages
French (fr)
Inventor
Igor Burdonov
Alexandr Kossatchev
Alexandr Petrenko
Dmitri Galter
Original Assignee
Nortel Networks Limited
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nortel Networks Limited filed Critical Nortel Networks Limited
Priority to PCT/RU1999/000340 priority Critical patent/WO2001022228A1/en
Priority to CA002319725A priority patent/CA2319725A1/en
Priority to CA002319721A priority patent/CA2319721A1/en
Priority to CA002319719A priority patent/CA2319719A1/en
Priority to US09/663,568 priority patent/US6898784B1/en
Priority to CA002319718A priority patent/CA2319718A1/en
Priority to US09/663,726 priority patent/US6697961B1/en
Priority to US09/663,194 priority patent/US6698012B1/en
Priority to EP00308084A priority patent/EP1089172A3/en
Priority to EP00308127A priority patent/EP1085418A3/en
Priority to EP00308085A priority patent/EP1085417A3/en
Priority to EP00308140A priority patent/EP1085419A3/en
Publication of WO2001022228A1 publication Critical patent/WO2001022228A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases

Definitions

  • This invention relates to a system and method for producing a verification system for verifying procedure interfaces .
  • a software system contains a functionally closed set of procedures.
  • 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.
  • API Application Programming Interface
  • a kernel of an Operating System comprises API.
  • a Support Operating System is a real-time OS for a Digital Multiplexing Switch (DMS) for a communication system.
  • SOS comprises a plurality of processes for supporting the operation of DMS.
  • the lowest layer of SOS is SOS kernel.
  • the SOS kernel allocates resources to the processes running under SOS.
  • the SOS kernel also provides communication among these processes.
  • the SOS kernel also creates, controls and removes these processes.
  • SOS supports more than 25 million lines of code for applications and utilities. Thus, it is critical that user procedure interfaces of the SOS kernel be stable and reliable for correct performances of the DMS switch.
  • the SOS kernel consists of over 1,700 procedures or over 230,000 lines of source code. Thus, it is very complicated and time consuming processes to generate a system for verifying such complex procedure interfaces. There existed no automatic or semiautomatic mechanisms to aid such generation of a verification system. At the same time, SOS continuously evolves. Also, SOS is often ported to new hardware and software platforms. While more than 75% of the kernel procedures are machine- independent, the remainder of the kernel procedures are very machine dependent. The remainder describes particularity of memory, inter-processor communication and communication with peripheral devices.
  • ITEX is a test environment for communicating systems. It includes a TTCN and Abstract Syntax Notation.1 (ASN.l) analysis and design tool, a test simulator and support for generation of complete Executable Test Suites (ETS) .
  • ETS Executable Test Suites
  • a Test Suite is made up of Test Cases in form of tables.
  • ITEX provides a set of highly integrated tools for development and maintenance of Abstract Test Suites (ATS) written in TTCN.
  • ITEX supports phases of the test suite development including Test Case Generation, Editing, Verification, Validation and Execution. This toolset is integrated with the Specification Description Language (SDL) Design Tool (SDT) , which is an environment for design of SDL specifications.
  • SDL Specification Description Language
  • SDT Specification Description Language
  • Test suites described with TTCN can be transformed to the form that allows testing both implementation in some programming language and specification in SDL. However, this approach is unsuitable for API testing. TTCN does not permit declaration of pointers and other software entities that do not have textual (literal) representation. A major limitation of SDL-like specifications is their explicit form. This means that it is easy to build models and prototypes based on them but it is very difficult to develop a system of constraints that define the union of all possible implementations.
  • ADL Algebraic Design Language
  • ADL uses not one of the popular specification languages but extensions of C and C++ languages. There are ideas on extensions of Java and other object-oriented languages aimed at developing software in " Design-by-Contract" fashion. However, despite the obvious advantages of better acceptance of such languages in the software engineering community, the concept, not to mention the common notation, is still far in the future.
  • ADL has a limited range of API classes for which it can provides means for specifications and automatic test generation. ADL provides adequate tools for test generation automation only for procedures whose parameters allow independent enumeration and allows testing procedures one by one.
  • ADL omits procedures with dependent parameters, procedures that require testing in a group, e.g., "open-close”, or those that require testing in parallel mode, e.g., "lock-unlock”, or " send-receive” .
  • FSM Finite State Machines
  • test suites to verify conformance of the implementation to the specification using formal specifications of the methods for a class.
  • test coverage criterion the union of two criteria is used: to cover all equivalency classes that represent the areas obtained as a result of partition analysis, and then, to check results on or near the boundaries.
  • the authors of this work do not try to solve the problem of complete automation of test generation. Nor do they attempt to support any elements of the preparation phase with tools. Partition and boundary analysis is done manually according to the methodology proposed by the authors. In a similar way, they build the specification of oracles. Oracles, once compiled into C++, call target procedures and verify the conformance of the results to the specifications.
  • This testing scheme is a framework that dynamically generates test sequences of procedure calls.
  • the framework is controlled by the FSM description which represents an abstraction of a state transition graph of the test class.
  • the authors describe the methodology of building specifications for the classes of states and transitions between them while considering the problem of exclusion of inaccessible states.
  • the present invention uses formal specifications of a procedure interface, and generates test suites from the formal specifications.
  • the formal specifications, and accordingly the test suites are independent from implementation of the procedure interface.
  • a verification system comprising the test suites may be efficiently produced for verifying the procedure interface of different implementations.
  • a verification system generator for generating a verification system for verifying a Procedure Interface Under Test (PIUT) .
  • the verification system generator comprises means for producing formal specifications of procedures of PIUT in a form independent from implementation of the PIUT.
  • the verification system generator also comprises a test source generator.
  • the test source generator generates test sources based on the formal specifications.
  • the generated formal specifications and test sources are stored in a repository.
  • a method of producing a verification system for verifying a PIUT First, formal specifications of the PIUT are generated in a form independent from implementation of the PIUT. Then, based on the formal specifications, test sources are generated. The test sources are used to generate a test suite in a form independent from implementation of PIUT for executing tests and analysing test results to verify the PIUT.
  • Figure 1 is a diagram showing an embodiment cf a verification system generator in accordance with the present invention
  • Figure 2 is a flowchart showing an embodiment; of a method for generating a verification system in accordance with the present invention
  • FIG. 3 is a flowchart showing steps of formal specification generation shown in Figure 2;
  • FIG 4 is a diagram showing a structure of a Support Operation System (SOS);
  • SOS Support Operation System
  • Figure 5 is a diagram showing an example of formal specification generation
  • Figure 6 is a diagram showing an example of test suite generation
  • Figure 7 is a diagram showing an example of test harness environment
  • Figure 8 is a diagram showing an example of test execution features
  • Figure 9 is a diagram showing an example of test execution levels.
  • the verification system 2 is generated for verifying a procedure interface 4 of a System Under Test (SUT) 3.
  • the verification system generator 1 comprises means 12 for generating formal specifications, a test source generator 14 and a repository 16. As shown in Figure 2, the means 12 for generating formal specifications generates formal specifications of the procedure interface 4 (S10).
  • test source generator 14 Based on the formal specifications, the test source generator 14 generates test sources (S20). The generated formal specifications and the test sources are stored in the repository 16 (S30) . The test sources are used to generate a test suite 22.
  • the test suite 22 is a set of programs and test data intended for the use in verifying the target procedure interface 4.
  • the formal specifications are generated in a form independent from implementation of the SUT 3. That is, the formal specifications do not depend on the implementation language, software or hardware of SUT 3, as further described later.
  • the test sources that are generated based on the implementation independent formal specifications are also implementation independent. Accordingly, the test sources may be used on any implementation of the SUT or modified versions of the SUT.
  • the SUT 3 uses specific implementation language.
  • the test sources are written in specification language that is independent from the implementation language. Accordingly, in order to execute the test sources on the SUT 3 to verify the procedure interface 4 of the SUT 3, the test sources are translated in language executable on the SUT 3 (S40) .
  • the translation is carried out by an implementation language compiler 18.
  • the compiler 18 compiles some executable subsets of test sources in the specification language into programs in the implementation language of the SUT 3.
  • the complied programs are specifications in implementation language that can be interpreted as description of some algorithms.
  • the generation of the verification system 2 is carried out in two stages. First, generation of implementation independent programs is performed. Then, implementation independent programs are compiled into those in implementation language of the SUT 3. Such a two step generation method allows the means 12 for generating specifications and the test source generator 14 of the verification system generator 1 to be implementation- independent tools and, in particular, implementation-language- independent tools.
  • the compiler 18 may be a part of the verification system generator 1 or may be provided separately from the verification system generator 1.
  • test suite 22 The compiled test sources form the test suite 22.
  • the test suite 22 is also independent from the implementation of the target SUT 3, other than the language used. That is, the test suite 22 does not depend on the implementation software or hardware of SUT 3.
  • a test harness 20 including the test suite 22 and a test bed 24 is formed for verifying the procedure interface 4 of the SUT 3, as further described below.
  • the test suite 22 executes tests on the SUT 3 (S50) and analyses results of the tests to verify the procedure interface 4 (S60) .
  • the verification system generator 1 "automates" test generation of real software for verifying a procedure interface 4 of an SUT 3.
  • the expression “automation” used herein does not necessarily mean fully automated manipulation that creates ready for use test data, test sequences and other infrastructure for test execution and test result analysis.
  • An “automated” process may include steps of manually writing some components in implementation language. When the total size of such manually developed components is small as a whole, the process may be considered “automated”. It is preferable that the test source generator 14 comprises a test driver generator 30 and a test case parameter generator 32.
  • the test case parameter generator 32 generates test case parameter sources for generating test case parameters . That is, the test case parameter generator 32 generates constant arrays and programs that generate and select needed test case parameters. The test case parameters are represented by these constant arrays and programs. Based on the formal specifications, the test driver generator 30 generates test driver sources for generating test drivers. The test drivers execute tests on the SUT 3 using the test case parameters in implementation environments and analysing results of tests. The test drivers comprise programs to execute and control testing of the procedure interface 4.
  • the test case parameters are parameters of a test case. A test case is an instance of a tested procedure. A test case is defined by a procedure name and its parameters, i.e., test case parameters. Also, state of environment may be a factor of defining a test case.
  • the test drivers use the test case parameters and execute test cases on the SUT 3 to verify the procedure interface .
  • the test driver generator 30 generates the test driver sources which, once compiled into the test drivers by the implementation language compiler 18, fulfil functions to initialize the procedure interface 4, prepare input values, call tested procedures with test case parameters, and receive test procedure results and analysis of the test results.
  • the test driver sources are complex programs. It is preferable that the test driver generator 30 generates the test driver sources that, once compiled into the test drivers, do not only pass some previously generated test case parameters to the SUT 3, but also control the state of the SUT 3. If the SUT state violates some conditions of the test, the test drivers do not supply test parameters to the procedure interface .
  • test driver sources and test case parameter sources are also implementation independent.
  • the test driver generator 30 preferably comprises a basic driver generator 34 and a script driver generator 36.
  • the basic driver generator 34 analyses the formal specifications, and generates the basic driver sources comprising programs in implementation-independent language.
  • the basic driver sources are used for generating a basic driver in implementation language.
  • the basic driver is a test driver for a target procedure .
  • the basic driver checks whether pre-conditions for the target procedure 4 hold for a given tuple of input parameters, calls the target procedure 4 with the given tuple of input parameter, records corresponding output parameters, and assigns a verdict on the correctness of the target procedure execution results.
  • the basic driver preferably also collects information necessary to estimate test coverage or investigate reasons for a fault, as described below.
  • the script driver generator 36 generates script driver sources which describe sequences of calls to the basic driver with different test case parameters.
  • the script driver sources are used for generating script drivers in implementation language.
  • a script driver is a test driver for a target procedure or a set of target procedures.
  • a script driver reads test options, generates sets of input parameters based on test options, and calls a basic driver with some set of input parameters.
  • a script driver may also perform extra checking of the correctness of the target procedure execution results and assigns a verdict.
  • a script driver may also check whether the test coverage is complete, and if not, it may continue to generate sets of input parameters and call the basic driver with this tuple.
  • the present invention may be suitably applied to generation of a verification system for arbitrary procedure interface of arbitrary systems.
  • the present invention is suitably applied to generate a verification system for procedure interfaces of a kernel of a Support Operating System (SOS) for a Digital Multiplexing Switch (DMS) .
  • SOS Support Operating System
  • DMS Digital Multiplexing Switch
  • the invention is hereinafter described mainly for verification of SOS kernel interfaces, but it is not limited to this application.
  • the generation of the formal specifications of the procedure interfaces is further described referring to Figures 3 and 4.
  • the means 12 for generating specifications first provides a function (F12) for defining procedure interfaces of the SOS kernel (S12) .
  • SOS 40 has SOS kernel 42 and SOS utilities 44.
  • SOS 40 supports applications 46.
  • SOS 40 is written using Nortel Networks Corporation's proprietary programming language called Protel, which is an example of the implementation, or target, language.
  • the SOS Kernel 42 comprises a plurality of procedures.
  • the procedure interface defining function (F12) categorises the procedures of the SOS Kernel 42 into two groups: one group for those depending on implementation of SOS 40, and the other group for those independent from implementation of SOS 40.
  • the procedure interface defining function (F12) then defines procedure interfaces to consist of procedures that are implementation independent.
  • the defined procedure interfaces form a Kernel Interface Layer (KIL) .
  • KIL 43 does not depend on implementation and, in particular, on hardware special features of SOS 40.
  • the procedure interfaces of KIL 43 are defined such that each procedure in KIL 43 performs one and only one service. No two procedures provide the same service. Thus, KIL 43 comprises minimal and orthogonal procedures needed by upper layers of SOS 40 and applications 46.
  • KIL 43 hides internal data structures and implementation details of the SOS kernel 42.
  • the means 12 for generating specifications provides a function (F14) for developing implementation independent description of the procedure interfaces of KIL 43 (S
  • the description developing function (F14) rigorously describes functionality of the procedure interfaces of KIL 43.
  • the implementation independent description may be developed using reverse engineering.
  • the basic idea of the reverse engineering approach is a gradual "upwarding" of data representation in defined implementations. "Upwarding" is increasing the level of abstraction.
  • source code 50 of the SOS kernel 42 it may be developed using source code 50 of the SOS kernel 42.
  • the source code 50 is in the implementation language of SOS 40.
  • the source code 50 is compiled into implementation independent language to generate a prime specification, i.e., implementation independent description 54. It is preferable to use an implementation independent language compiler 53 to carry out this compiling process automatically.
  • the implementation independent description may also be developed from documents or other information of the SOS Kernel 42.
  • the means 12 then provides a function (F16) for deriving formal specifications of KIL 43 from the implementation independent description (S16) .
  • F16 function for deriving formal specifications of KIL 43 from the implementation independent description (S16) .
  • S16 implementation independent description
  • the level of abstraction of the prime specification 54 is increased to generate a formal specification 56.
  • This abstraction process 55 may be carried out manually.
  • RAISE Rigorous Approach to Industrial Software Engineering
  • RSL RAISE Specification Language
  • EDEN-sintaxicaly oriented editor a RAISE to ADA compiler
  • RAISE to C++ compiler a RAISE to C++ compiler
  • RAISE features e.g., axiom, algebraic specifications and channels may be used in semiformal considerations and explanations.
  • model-oriented specification in implicit form as the main form of specification.
  • the implicit form describes a target procedure using pre-conditions and post-conditions of the target procedure .
  • the means 12 for generating specification may comprise a tool or a set of tools for providing above described functions for aiding a specifier to manually or semi-automatically generates the specifications.
  • An example of such tools is the implementation independent language compiler 53 as described above .
  • the following classification of procedures of a procedure interface is suitably used for generating a verification system for the procedure interface.
  • the procedure interface classes include five main classes of procedures and some extensions of classes including procedures tested in parallel and expected exceptions.
  • the classes are organized hierarchically. The first class establishes the strongest requirements. Each following class weakens the requirements.
  • the requirements for the five classes are as follows:
  • KIND_1 The input is data that could be represented in literal (textual) form and can be produced without accounting for any interdependencies between the values of different test case parameters. Such procedures can be tested separately because no other target procedure is needed to generate input test case parameters and analyse the outcome of the tests .
  • KIND_2 No interdependencies exist between the input items, i.e., values of input test case parameters. The input does not have to be in literal form. Such procedures can be tested separately. Examples of this class include procedures with pointer type input parameters.
  • KIND_3 Some interdependencies exist, however, separate testing is possible. Examples of this class include a procedure with two parameters in which the first one is array and the second one is a value in the array.
  • KIND_ The procedures cannot be tested separately, because some input test case parameters can be produced only by calling another procedure from the group and/or some outcome of tests can be analysed only by calling other procedures. Examples of this class include a procedure that provides stack operations and that receives the stack as a parameter .
  • KIND_5 The procedures cannot be tested separately. Part of the input and output data is hidden and the user does not have direct access to data. Examples of this class include instances of Object-Oriented classes with internal states; and a group of procedures that share a variable not visible to the procedure user. Exception raising extension of API classes: The specific kind of procedures raise exceptions as a correct reaction to certain input test case parameters. Examples of this class include a procedure that is supposed to raise an exception after dividing by zero. If zero received as an input parameter, then this procedure must not return any return code .
  • Figure 6 shows an example of the test generation for a KIL 43 using RAISE as implementation independent language.
  • the test source generator 100 comprises a basic driver generator 102, script driver generator 104 and test case parameter generator 106.
  • the test source generator 100 uses UNIX, and the target SOS kernel 42 uses target language.
  • the formal specifications 110 are generated in RSL. Accordingly, the test source generator 100 uses an RSL-target language compiler 108 as an implementation language compiler.
  • the main source of the test source generation is the RAISE specifications 110.
  • the RAISE specifications 110 are written in RSL.
  • the RAISE specifications 110 may be those generated by the means 12 for generating specifications shown in Figure 1 or those stored in the repository 116.
  • the basic driver generator 102 receives the specifications 110.
  • the basic driver generator 102 is a tool for generating basic driver sources, i.e., RSL basic drivers 103.
  • the RSL basic drivers 103 are testing procedures in RSL.
  • the basic driver generator 102 executes analysis of the RAISE specifications 110. Based on the analysis results, the basic driver generator 102 generates testing procedure programs comprising the RSL basic drivers 103. That is, the basic driver generator 102 generates, as the RSL basic drivers 103, programs for checking input test case parameters, calling tested procedures, tracing and analysing the test results, assigning a verdict of the outcome, and outputting trace information.
  • the basic driver generator 102 preferably also generates source for test case parameter generation 109.
  • the source 109 for test case parameter generation preferably includes source for partition analysis, as described below.
  • RSL generated sources do not require any customization as they are implementation independent .
  • the RSL basic drivers 103 generated by the basic driver generator 102 are compiled by the RSL-target language compiler 108 into basic drivers 122 in the target language.
  • the basic drivers 122 comprise target language procedures. Other than the language used, the RSL basic drivers 103 and the basic driver 122 in the target language are the same.
  • each basic driver 122 For each procedure in KIL 43, one basic driver 122 is generated. Each basic driver 122 provides direct call of a target procedure in KIL 43, and provides common facilities to test the target procedure. That is, each basic driver 122 takes input test case parameters for KIL 43, and checks preconditions of the target procedure. If the pre-conditions are correct, the basic driver 122 makes the call of the target procedure, and checks post-conditions of the target procedure. The basic drivers 122 may carry out test result analysis by recording execution outcomes and comparing them with required outcomes. The basic drivers 122 may provide the result of the analysis as a verdict. The verdict may be either "passed” or "failed". The "passed” verdict means that no error is detected. The "failed” verdict means that an error is detected.
  • the basic drivers 122 may have a test oracle to automatically perform the analysis of the test outcome.
  • the test oracle is a program that assigns a verdict on the correctness of outcome for the target procedure.
  • the test oracle is similar to post-conditions. Both the test oracle and the post-conditions have Boolean functions. They have the same parameters, and return "True” if the target procedure produces a correct result and "False” otherwise. Accordingly, the test oracles can be generated once the post-conditions are generated.
  • the test result may depend on the SOS state and the history of SOS functioning.
  • each basic driver 122 preferably also generates programs to support a model of SOS state.
  • the model is used to check acceptability of test case parameters in different contexts and to analyse correctness of test results.
  • the test case parameter generator 106 receives the source for test case parameter generation 109 from the basic driver generator 102. Then, the test case parameter generator 106 generates test case parameter sources, i.e., RSL test case parameters 107.
  • the RSL test case parameters 107 may be constant arrays or programs.
  • the test case parameter programs are also fully completed RSL sources.
  • the test case parameter generator 106 may also generate test case parameter sources from the specifications.
  • the RSL test case parameters 107 are compiled into test case parameters 126 by the RSL-target language compiler 108.
  • the test case parameters 126 are input parameters for procedures under testing. Therefore, they are used for basic driver procedures.
  • the test case parameters 126 may include only numeric and/or boolean input parameters.
  • a KIL of SOS includes about 140 procedures which need only such input parameters. These procedures are called KIND_1 procedures, as described above.
  • the script driver generator 104 receives the RAISE specifications 110, and generates script driver sources, i.e., RSL script drivers 105.
  • the RSL script drivers 105 are compiled by the RSL-target language compiler 108 into script drivers 124 in the target language. Other than the language used, and the RSL script drivers 105 and the script drivers 124 in the target language are the same.
  • the script drivers 124 are the upper level of the basic drivers 122.
  • Each RSL script driver 103 is a program for testing of a procedure or a group of procedures . It is a sequence of target procedures calls. The sequence may have serial or parallel composition. The sequence may have iterations.
  • the RSL script drivers 103 once complied into the script drivers 124 by the compiler 108, realize a scenario or script of testing .
  • the script driver generator 104 generates, as the RSL script drivers 105, programs to realize the sequences of procedure execution with different test case parameters.
  • the script driver generator 104 generates the RSL script drivers 105 to have no direct interaction with target procedures. That is, the RSL script drivers 105, once complied into the script drivers 124, call the basic driver 122.
  • One or more RSL script drivers 105 may be written to be called by procedures which function as suppliers of test case parameters 126, or procedures that allow a system operator to control a procedure group testing.
  • the script driver generator 104 may also generate programs to check the verdicts of the basic drivers 122.
  • the script driver generator 104 may also generate programs to assign script driver own verdicts based on the basic driver verdicts .
  • the script driver generator 104 uses script driver skeletons 112 in addition to the specifications 110.
  • the script driver skeletons 112 describe general scheme of script drivers. That is, each script driver skeleton contains an algorithm of a script driver.
  • the script driver skeletons 112 are specific to each kind of procedure interface.
  • Each script driver consists of declarations and a body.
  • the declarations include import of the procedure under test and its data structure definitions and/or import of all data and types used in the specifications.
  • the declarations are generated automatically based on the list of procedures under test and their specifications 110.
  • the body of a script driver begins with the script driver option parsing.
  • the options, as parameters of the script driver as a whole, determine the depth of testing, e.g., the level of test coverage criteria, and some specific data like interval of values, duration of testing.
  • the script driver generator 104 uses one of the skeletons 112 and the RAISE specifications 110.
  • Union of the specifications 110 and skeletons 112 forms formal description of test suite sources. This formal description may be considered as a test suite specification.
  • the test suite specification allows the generator 100 to define test coverage requirements, schemes of script drivers, and algorithm for checking target procedure behaviours.
  • the script driver skeletons 112 for a new target SUT may be manually developed or received from the repository 116.
  • the verification system carries out some initialization. For example, before testing write/read procedures, the verification system opens a file. Such initializations are written manually. After initialization is finished, the main part of the script driver begins.
  • script driver generator 104 may also use some supplement sources, such as some instances of test case parameters values .
  • the script driver generator 104 may also use procedures that convert values derived from the RAISE specifications 110 into value formats used by the current version of SOS kernel 42. Because the specifications 110 are implementation independent, correspondence between the specifications 110 and implementation data structures is separately described. Thus, it is preferable to use some means for associating abstract objects with implementation objects. Some target language procedures convert data from their representation in implementation to and from their representation in the test suite 120. Such target language procedures may be used as the associating means. The target language procedures use post- conditions of the procedure under test. The target language procedures may be manually developed.
  • manually developed components may be called "manually developed components" .
  • the size of manually developed components is not large compared to the automatically generated components in the verification system generator 100.
  • KIND_1 procedures full automation of test generation is possible. All other kinds generally need some additional effort for writing manually developed components. The effort gradually grows from KIND_2 to KIND_5. The extensions require more effort than the corresponding kinds themselves. Complexity and effort for the development of manually developed components is usually caused by the complexity of the script driver generation and debugging. All script drivers for different classes of procedures have similar structure. The main distinction is the distribution between automatically generated components and manually developed documents. The KIND_1 script driver is generated fully automatically, KIND_2 script driver is generated almost automatically and so on.
  • the KIND_5 script driver realizes a general algorithm for traversing an abstract Finite State Machine (FSM) .
  • FSM Finite State Machine
  • the algorithm of a script driver is related to the specification and does not depend on the implementation details outside the specification.
  • the script driver algorithm does not have direct descriptions of the abstract FSM.
  • the verification system generator 100 avoids use of direct descriptions because direct specification of the FSM requires extra efforts to generate. Instead of a direct specification of FSM, the verification system generator 100 uses indirect, virtual representation of FSM.
  • Such representation includes a function-observer and a function-iterator.
  • the function- observer calculates on the fly the current state in the abstract FSM.
  • the function-iterator selects a next procedure from the target procedure group, and generates a tuple of the input parameter values for this procedure.
  • the KIND_5 script driver algorithm is described in more detail. For example, a case of testing a procedure group is considered. After passing several FSM states, i.e., some target procedures have been called, the next transition is being made. This elementary cycle of testing starts by calling a function-iterator that selects the next procedure from the target procedure group, and prepares a tuple of input test case parameter values for this target procedure. If the function-iterators have managed to generate a new and correct tuple without violation of pre-conditions, then the script driver calls a corresponding basic driver with the tuple as actual test case parameters.
  • the control script driver checks the verdict assigned by the basic driver. If the verdict is "False”, i.e., an error has been detected, the script driver produces corresponding trace data and finishes. If the verdict is "True”, i.e., the elementary test case passed, the script driver calls the function-observer. The function-observer then calculates a current state, logs the state and transition, and continues to traverse FSM.
  • FSM is used here as a guideline to pass through all states the needed number of times.
  • the script drivers are preferably composed following the requirements of the corresponding skeletons.
  • the verification system generator 100 uses five skeletons needed for serial testing of API KIND-1 through KIND_5 and one skeleton for parallel testing. Based on a corresponding skeleton and the list of target procedures and specifications, the verification system generator 100 generates a script driver template for each class.
  • a KIND_1 template is a ready-to-use program.
  • the templates for the other kinds include several nests with default initiators and iterators. If a test designer does not need to add or improve anything in the nests, the template can be compiled by the RSL-target language compiler 108 and executed as a script driver 124. This situation is typical for a KIND_2 procedure interface.
  • a test designer usually adds some specific initiators and iterators as RSL supplement 115.
  • the test designer defines FSM state observer for the script drivers of KIND_4 and KIND_5.
  • all kinds of generation by generators 102, 104, 106 produce results 103, 105, 107, 109 in RSL. This means that "front end" of specification and verification technology is implemented in implementation language independent form.
  • All generators 102, 104, 106 can produce the components 122, 124, 126 of the test suites 120 for systems implemented in arbitrary programming languages. Compilation of generated sources 103, 105, 107 by the RSL-target language compiler 108 may be carried out when generation of all sources 103, 105, 107 is completed.
  • RSL-target language compiler 108 translates executable subsets of RSL language into programs in the target language.
  • the RSL-target language compiler 108 restricts RSL. These restrictions are typical for all RSL language compilers.
  • the RSL-target language compiler 108 does not treat explicit definitions of constants if the user does not define the concrete constant value but only defines limitations that restrict constant field of values.
  • the RSL-target language compiler 108 is implementation- language dependent.
  • the result of the RSL-target language compiler 108 is generally a group of complete target-language sections. This is a part of the target language module that consists of a few sections.
  • some target language sections with interface descriptions may be produced. Interfaces or behaviour of some procedures from SOS are written once and do not need to be rewritten repeatedly.
  • the target language sections with interface descriptions may be produced manually. These target language sections may be called target language supplement 114.
  • interdependencies between modules of specifications and between results of generation/compiling i.e., the target language sections, and other target language modules/sections that were manually developed or had been produced by other tools.
  • These interdependencies may be represented by a graph. The complexity of such a graph of interdependencies depends on the size of the procedure interface under test.
  • KIL consists of over 560 procedures divided into over 30 subsystems.
  • a basic driver module there exists, at least, a basic driver module, and as a whole there exist about 200 script driver modules.
  • RSL driver For each RSL driver, at least one target language module is generated and stored. Besides, the target language modules consist of a few sections and each section is stored in a separate file. As a whole, KIL requires over 10,000 files.
  • a work "manage" utility as described later.
  • the basic drivers 122 invoked by the script drivers 124 are generated fully automatically.
  • the only manually developed components called from basic drivers 122 are data converters of the RSL-target language compiler 108.
  • the converters transform the model data representation into the implementation representation and vice versa.
  • a model representation is distinguished from the implementation one by the level of abstraction. For example, models may use "infinite" representation of integers, maps, relations, and other data structures suitable for specification. Sometimes model representation is very similar to the implementation one. In this case, such transformation is done by a standard translation algorithm of the specification language into the implementation language.
  • the verification system generator 100 is suitably used for generating a verification system for a continual evolving SUT.
  • SOS may be evolved in accordance with its life cycle. During evolution cycle, requirements, interfaces or behaviour of some procedures from the SOS kernel, and implementation of SOS are repeatedly modified. For each new version of SOS, it is necessary to develop a new version of verification system. Therefore, it is beneficial to automate process of regeneration of the verification system.
  • Life cycle of test suites 120 generated by the verification system generator 100 replicates life cycle of the SOS Kernel 42. Usually, only a few interfaces or behaviour of some procedures from the SOS kernel are modified.
  • the verification system generator 100 provides a possibility to re-specify modified interfaces or behaviour of some procedures from the SOS kernel and then re-generate test suites 120, and in doing so to provide re-use of old manually developed components.
  • the verification system generator 100 can automate test suites regeneration. Therefore, existence of manually developed components does not decrease actual level of automation of the verification system generation.
  • the verification system generator 100 preferably stores in the repository 116 all manually developed components developed for generating the test suites 120 separately from automatically generated components.
  • the manually developed components supplement automatically generated components. Therefore, process of the test suites components manually development may be called "supplement".
  • the verification system generator 100 may use two kind of sources for generating test sources: formal specifications and some supplement sources. As automatically generated and manually developed components of the verification system generator 100 are stored separately, no manual changes in automatically generated components are needed. Therefore, the verification system generator 100 can eliminate need of customizing automatically generated files for each regeneration of the test suites 120.
  • specifications 110 need to be modified.
  • interface data structures are modified, in addition to specifications 110, some conversion procedures in the target language also need to be (re) developed.
  • Those target language conversion procedures may be manually developed.
  • some reasons for test plan modification may arise. For example, these modifications may be caused by wishes to increase amount of tests, decrease time of testing, to check correlation of some features for parallel execution and so on.
  • some manual modification to manually developed components may be needed.
  • a test designer can automatically generate new test suites 120 for validation of the new SOS kernel by using the verification system generator 100.
  • test suite 120 generated by the verification system generator 100 In order to port a test suite 120 generated by the verification system generator 100 from one implementation language platform to another, the data converters need to be rewritten and a new RSL to implementation language compiler needs to be provided. Also, a new run-time support system for the test suites with new test bed functions needs to be provided.
  • the verification system generator 100 also generates data for test coverage estimation and test plan design.
  • the data is preferably kept in the repository 116.
  • Test coverage measures the completeness of testing. Sometimes, test coverage is presented as percentage of checked test situations. Sometimes, it is a list of test situations that have been or should be checked by the test suites. Test coverage requirements present all possible test situations that must be covered by test suites execution. If test suites 120 meet the requirements, then "exhaustive" or "100%" test coverage is gained. There is a difference between test coverage estimation for source code and for specifications. In the case of source code, a test situation is associated with a statement, branch of path in control flow graph of a program. In the case of specifications, the specifications are represented as logical expressions, i.e., boolean expressions. Thus, test situations are associated with branches and disjuncts of boolean expressions. Therefore, by using test situations for specifications, it is possible to define test coverage requirements for arbitrary specifications. This allows uniform notation for description and accounting of the test situations, coverage requirements and obtained coverage.
  • test suites are generated based on the specifications.
  • the specifications are implementation independent.
  • the test coverage is preferably measured by means of an implementation independent way.
  • the verification system preferably uses test coverage criteria which are based on the specifications.
  • test situations In complex SUTs, "all test situations" may not be covered. Accordingly, it is preferable to group similar test situations in classes. In this case, exhaustive coverage may represent coverage of all classes of test situations. Test situations and their classes may be identified and classified based on implementation source code or some external descriptions of the procedures under test. When a so-called "black box” approach is taken to test SUTs, test situations and their classes are identified and classified based on knowledge of descriptions of the procedures under test.
  • test coverage criterion is a metric defined in terms of implementation or specification.
  • the most well known test coverage criteria in terms of implementation are: Class 1 - all statements are passed; and Class 2 - all branches are passed.
  • the so-called domain testing approach is preferably, used.
  • the whole input space is partitioned into areas by the basic driver generator. Each area corresponds to a class of equivalence.
  • the source for test case parameter generation 109 generated by the basic driver generator 102 preferably includes source for the partition analysis.
  • the partition determines the choice of one of the test generation techniques applicable to a procedure interface or an interface of a procedure group.
  • the source for partition analysis includes a list of test situation classes that represent test coverage requirements, and initial data for partition analysis.
  • the source for partition analysis is used to generate test case parameters 126.
  • the partition may be derived from the specifications that describe requirements on input and properties of outcome for target procedures. Both the requirements and properties are represented in pre-conditions and post-conditions of formal specifications in implicit form. Accordingly, the test coverage estimation can be carried out based on the implicit specifications.
  • the average percentage of the test coverage of the verification system generated by the generator 100 for SOS KIL is 70% to 100% of statements in the implementation .
  • the verification system generator 100 allows automatic partitioning in terms of specification branches and FDNF. It is preferable to calculate accessible FDNF disjuncts and remove the inaccessible FDNF disjuncts using pre-condition design . Monitoring of obtained test coverage is preferably conducted on the fly by script drivers 124. Based on this data, the script drivers 124 may tune testing parameters and/or testing duration. As described above, the verification system generation consists of a sequence of steps.
  • the "manage” utility is a tool which works on a standard structure of UNIX directory where the tools and sources for verification system generations and generated test suites are stored.
  • the "manage” utility works like UNIX "make” . It analyses an interdependencies graph which represents interdependencies of the test suite components, and searches “inconsistencies” in the graph. Each “inconsistency” requires to make some kind of generation and compiling. After the “manage” utility removes all “inconsistencies", all needed test suites components become ready to use.
  • the "manage” utility uses a set of UNIX scripts and UNIX "make” files.
  • the “manage” utility uses description of paths for all files used. It is preferable to define a "standard” directory structure to store sources and generated files for generating verification systems, and directories of the verification system generator.
  • the verification system 2 is generated by compiling the test suite sources using the implementation language compiler 18 as described above.
  • the generated test suites are then loaded into the target SUT 3.
  • the contents of the repository 16 are used and updated.
  • test harness 20 is a software system used in the process of test execution and communicating with a target SUT 3.
  • FIG. 7 shows an example of the test harness environment using the test suites 22.
  • the test harness 20 comprises the test suites 22 and test bed 24.
  • the test suites 22 comprises test drivers 60 including basic drivers and script drivers, and test case parameters 62.
  • the test bed 24 is a run-time support and some infrastructure features for test execution to enable functionality of the test drivers 60.
  • the test bed 24 is a resident component of the verification system 2 located in SUT image, e.g., SOS image 48.
  • SOS image 48 a resident component of the verification system 2 located in SUT image, e.g., SOS image 48.
  • SOS image 48 is a binary code structure that may be executed on a DMS switch.
  • the verification system 2 uses a "Test Integrated Environment (TIE)" 26, as shown in Figure 1.
  • TIE 26 comprises a set of tools for executing test execution features and test analysis features. Some of the tools may be stored in repository, and others may be stored in separate files, e.g., UNIX files.
  • the tools of the TIE 26 are executed under UNIX on a front-end computer or other OS.
  • the test harness 20 with the SOS Kernel 42 is executed on the target hardware, e.g., DMS .
  • Test execution features 130 include test plans design 132, test plans execution 134 and testing result analysis 136.
  • a test plan is a program that defines the order of script driver calls with the given test options. The test plan also checks the script driver call conditions and termination correctness .
  • test plan fulfils testing of a set of subsystems of SOS Kernel 42.
  • a subsystem is a set of procedures.
  • An elementary component of a test plan is a test sequence.
  • a test sequence is an instance of script driver execution with corresponding parameters.
  • a test plan defines a serial or parallel order of test sequences. The purpose of the test plan is to check behaviour of subsystems under test in definite compositions.
  • the test plan controls and manages test sequence execution. This control is executed by feedback which executes analysis of trace information.
  • An algorithm of the test plan is called a test script.
  • the test harness may also contain a test plan interpreter, a repository and tools for test plan execution and querying the results kept in the repository.
  • the repository contains information about all test executions, code coverage metrics for different procedures with different test coverage criteria, and all situations when test drivers assigned a negative verdict.
  • test plan interpreter, repository and tools may be provided separately from the test harness.
  • the test scripts are preferably described in a script language.
  • the script language is a lightweight programming language. In general, all possibilities provided by the script language may be realized by means of implementation language or other programming language. But, if those implementation languages are used, in order to compose ready- to-use script drivers, a test designer would have to implement usual programs and have to face usual troubles of linking/loading/debugging.
  • the script language allows to facilitate producing large variety of test sequence compositions for trial of large variety of test situations. Thus, it avoids wasting of time for compiling, linking and debugging usual for implementation language programs.
  • Source materials for the test plan design 132 are script driver informal description and test coverage requirements for the target subsystem (s) .
  • the script driver description includes script drivers options description of resources needed for different options. Besides, the description may declare possibility or impossibility of sequential or parallel composition of this script driver with other script drivers.
  • the test execution 134 uses a hierarchical structure 140 comprising a user level 142, test plan level 144, script driver level 146 and a basic script level 148.
  • test plans are activated by the user or by means of batch file execution in a test program. This level is intended for users of the verification system. The users execute test plans and receive the analysis results.
  • a script driver is launched by a test plan. This level is intended for test plan designers who are also users of the verification system.
  • test plan level 144 and use of the script language specifically facilitate producing large variety of test sequence compositions for trial of large variety of test situations.
  • test plan level 144 also provides a possibility of feedback usage for script driver monitoring.
  • the verification system supports two kinds of feedback information generated by the test drivers: verdicts and trace events shown by test coverage.
  • script driver level 146 the basic driver is called by a script driver. This level is intended for test designers who generate or write test suite components.
  • the basic driver level 148 an interface procedure is called by the basic driver. Nobody has any access to this level.
  • the basic driver is generated automatically, as described above. This level fulfils common functions of target procedure behaviour checking and tracing.
  • verdict analysis is simple and is not informative. Verdict may be "PASSED” or "FAILED". All script drivers can analyse verdicts obtained from its governed basic driver.
  • Test coverage is a measured for estimation of quality, i.e., fullness, of testing. Direct goal of introduction of such measure is to decide if a test suite is complete or not.
  • the test coverage indirectly defines a criterion of test selection.
  • the TIE 26 uses description of all possible test situations that can arise during a procedure or subsystem testing. The TIE 26 compares test coverage requirements stored in repository 16 and trace information obtained from SOS Kernel 42 during testing.
  • test coverage requirements for the target subsystem use knowledge of a set of test situations. Test situations can be used for feedback. For example, a test plan may iteratively launch a script driver with different options until a certain test situation has been passed. Test coverage requirements are preferably generated automatically by the basic driver generator 34, as described above.
  • the verification system 2 may not provide any special tool for the test plan design 132.
  • the test plans may be placed in UNIX files.
  • the TIE 26 may provide a navigating tool 27.
  • the navigating tool 27 provides a graphical user interface to browse specifications and testware to run test and analyse test results.
  • the navigating tool 27 is executed on a front-end computer. It communicates with the target hardware 6 or with the target hardware emulator.
  • the user of the verification system 2 may push a section in the navigating tool graphic interface of the TIE 26.
  • the test drivers in cooperation with the TIE 26 collects trace information generated by the test drivers.
  • the trace allows to estimate completeness of the test coverage.
  • the verification system 2 is intended for trial of non- stable (unreliable) SUT functioning.
  • the TIE 26 does not stop process of testing.
  • the TIE 26 preferably stores the received trace information, then reloads the SUT 3, and continues to execute testing in accordance with list of test plans.
  • Such scheme of testing may be called "incremental testing”. It is easy for many users to use a navigating tool which is an interactive tool for specifications, testware browsing, test execution and test result analysis. However, manual test execution means may also be suitably used.
  • Test execution and test result analysis features are preferably grouped in Test Integrated Environment (TIE) as described above.
  • TIE Test Integrated Environment
  • a user interface is provided in the TIE by the navigating tool. All other components of the verification system are hidden by the shell of the navigating tool.
  • the navigating tool is intended to analyse test execution results, to navigate through the test suite directory tree and to browse test plans, script drivers, procedures and their specifications .
  • GUI Graphical User Interface
  • HTML Hyper Text Markup Language
  • CGI Common Gate Gateway Interface
  • the navigating tool may provide choices to, e.g., view subsystems, procedures, script driver kinds, script drivers, test plans and directories tree structure.
  • the test plans link may be used to navigate through test plans available in the test system and to observe results of the test execution.
  • the navigating tool executes the tests using corresponding CGI scripts.
  • a CGI script finds its subsystems for each procedure in a trace log. Also, for all subsystems from set constructed in the previous step, it merges their test situations to build an available test situations set.
  • the user may force the navigating tool to exclude subsystems selected by the user from consideration during report generation to decrease the test situations set. This is useful when test plan invokes script drivers that call the procedures, which are not under test. Such additional procedures prevent the user from true coverage percentage calculation.
  • the test coverage report may contain a number of and percentage of covered branches, a number of and percentage of covered disjuncts, and values about number of and percentage of covered procedures, branches and disjuncts.
  • the execution log may allow to, e.g., show time stamp, exclude script messages, exclude process died notification, exclude precondition failure, exclude incorrect post parameter message, hide basic driver fault, show no script driver warning, hide script driver fault, show no script driver message.
  • the show time stamp option directs browser to precede each line in the report by time stamp value when given event was registered.
  • verification system generator 1 also provides facilities for installation and maintenance.
  • Installation consists of construction and filling a directory structure, setting environment variables and adding the user/administrator profiles. Utilities for installation are relatively simple.
  • the maintenance facilities covers updating of specifications and other sources for test suites generation; generation/compiling of test suites; and trial of new modified state of the verification system 2.
  • the sources for test suites generation may be developed or modified remotely.
  • the verification system generator 1 may be provided with the corresponding utilities. If maintenance facilities do not have any restriction on resources, these utilities may be used in fully automatic manner.
  • modification of the verification system 2 may need to be performed step by step, for example, first generate a basic driver and second generate script drivers.
  • the present invention is described mainly using the verification system generator for verifying the SOS kernel.
  • the present invention is suitably used for verifying a different system, such as a base level of call processing system, and a management system of tree-like store for queues with different disciplines.
  • the present invention is mainly disclosed using RSL specifications.
  • natural language documentation may also be used.
  • the present invention is mainly disclosed using UNIX.
  • other operating systems may also be used.

Abstract

A verification system for a procedure interface is generated by using formal specifications of the procedure interface and generating test suites from the formal specifications. The formal specifications are independent from implementation of the procedure interface. Accordingly, the test suites are also implementation independent. Thus, a verification system comprising the test suites may be efficiently produced for verifying the procedure interface of different implementations.

Description

System and Method for Producing a Verification System for Verifying Procedure Interfaces
This invention relates to a system and method for producing a verification system for verifying procedure interfaces .
BACKGROUND OF THE INVENTION
A 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.
A kernel of an Operating System (OS) comprises API. For example, a Support Operating System (SOS) is a real-time OS for a Digital Multiplexing Switch (DMS) for a communication system. SOS comprises a plurality of processes for supporting the operation of DMS. The lowest layer of SOS is SOS kernel. The SOS kernel allocates resources to the processes running under SOS. The SOS kernel also provides communication among these processes. The SOS kernel also creates, controls and removes these processes.
SOS supports more than 25 million lines of code for applications and utilities. Thus, it is critical that user procedure interfaces of the SOS kernel be stable and reliable for correct performances of the DMS switch. The SOS kernel consists of over 1,700 procedures or over 230,000 lines of source code. Thus, it is very complicated and time consuming processes to generate a system for verifying such complex procedure interfaces. There existed no automatic or semiautomatic mechanisms to aid such generation of a verification system. At the same time, SOS continuously evolves. Also, SOS is often ported to new hardware and software platforms. While more than 75% of the kernel procedures are machine- independent, the remainder of the kernel procedures are very machine dependent. The remainder describes particularity of memory, inter-processor communication and communication with peripheral devices. Accordingly, when SOS evolves or SOS is ported to a new platform, the SOS kernel and its procedure interfaces are also modified. Thus, the verification system for the procedure interfaces of the SOS kernel also needs to be modified. However, there existed no automatic or semi-automatic modifying mechanisms to aid such modifications.
There are some systems proposed for building a verification process. One of such systems is Interactive Tree and Tabular Combined Notation (TTCN) Editor and eXecutor
(ITEX). ITEX is a test environment for communicating systems. It includes a TTCN and Abstract Syntax Notation.1 (ASN.l) analysis and design tool, a test simulator and support for generation of complete Executable Test Suites (ETS) . In accordance with ITEX, a Test Suite is made up of Test Cases in form of tables. ITEX provides a set of highly integrated tools for development and maintenance of Abstract Test Suites (ATS) written in TTCN. ITEX supports phases of the test suite development including Test Case Generation, Editing, Verification, Validation and Execution. This toolset is integrated with the Specification Description Language (SDL) Design Tool (SDT) , which is an environment for design of SDL specifications. Test suites described with TTCN can be transformed to the form that allows testing both implementation in some programming language and specification in SDL. However, this approach is unsuitable for API testing. TTCN does not permit declaration of pointers and other software entities that do not have textual (literal) representation. A major limitation of SDL-like specifications is their explicit form. This means that it is easy to build models and prototypes based on them but it is very difficult to develop a system of constraints that define the union of all possible implementations.
Another example is the Algebraic Design Language (ADL)/ADL2. From formal specifications, ADL generates test oracles and skeletons for building test drivers and documentation. ADL uses not one of the popular specification languages but extensions of C and C++ languages. There are ideas on extensions of Java and other object-oriented languages aimed at developing software in " Design-by-Contract" fashion. However, despite the obvious advantages of better acceptance of such languages in the software engineering community, the concept, not to mention the common notation, is still far in the future. ADL has a limited range of API classes for which it can provides means for specifications and automatic test generation. ADL provides adequate tools for test generation automation only for procedures whose parameters allow independent enumeration and allows testing procedures one by one. This means that ADL omits procedures with dependent parameters, procedures that require testing in a group, e.g., "open-close", or those that require testing in parallel mode, e.g., "lock-unlock", or " send-receive" .
Another example is formal derivation of Finite State Machines (FSM) for class testing proposed by L. Murray, D. Carrington, I. MacColl, J. McDonald and P. Strooper in "Formal Derivation of Finite State Machines for Class Testing" , in Jonatthan P. Bowen, Andreas Fett, Michael G. Hinchey (eds.) ZUMλ98: The Z Formal Specification Notation. 11-th International Conference of Z Users, Berlin, Germany, Sept. 1998, Proceeding, Lecture Notes in Computer Science, v. 1493, pp. 42-59. This work is at the research stage. The authors propose a scheme for organization of procedure group testing using Object-Z as specification language and C++ as programming language. The task of this work is stated to build test suites to verify conformance of the implementation to the specification using formal specifications of the methods for a class. As a test coverage criterion, the union of two criteria is used: to cover all equivalency classes that represent the areas obtained as a result of partition analysis, and then, to check results on or near the boundaries. However, the authors of this work do not try to solve the problem of complete automation of test generation. Nor do they attempt to support any elements of the preparation phase with tools. Partition and boundary analysis is done manually according to the methodology proposed by the authors. In a similar way, they build the specification of oracles. Oracles, once compiled into C++, call target procedures and verify the conformance of the results to the specifications. This testing scheme is a framework that dynamically generates test sequences of procedure calls. The framework is controlled by the FSM description which represents an abstraction of a state transition graph of the test class. The authors describe the methodology of building specifications for the classes of states and transitions between them while considering the problem of exclusion of inaccessible states.
This approach needs the full description of the FSM that models the states of the system under test. The theoretical weakness of this approach is that it does not try to come up with a formal methodology to build transformation specifications. It is obvious that serious problems will be encountered when attempting to apply this approach to specifications of real-life complexity. In practical sense, it is clear that the process of test derivation from the specifications is mostly manual activity which limits its applicability to industrial software.
It is therefore desirable to provide a system and method which efficiently produces a verification system for verifying a procedure interface of different implementations. SUMMARY OF THE INVENTION
The present invention uses formal specifications of a procedure interface, and generates test suites from the formal specifications. The formal specifications, and accordingly the test suites, are independent from implementation of the procedure interface. Thus, a verification system comprising the test suites may be efficiently produced for verifying the procedure interface of different implementations.
In accordance with an aspect of the present invention, there is provided a verification system generator for generating a verification system for verifying a Procedure Interface Under Test (PIUT) . The verification system generator comprises means for producing formal specifications of procedures of PIUT in a form independent from implementation of the PIUT. The verification system generator also comprises a test source generator. The test source generator generates test sources based on the formal specifications. The generated formal specifications and test sources are stored in a repository. In accordance with another aspect of the present invention, there is provided a method of producing a verification system for verifying a PIUT. First, formal specifications of the PIUT are generated in a form independent from implementation of the PIUT. Then, based on the formal specifications, test sources are generated. The test sources are used to generate a test suite in a form independent from implementation of PIUT for executing tests and analysing test results to verify the PIUT.
Other aspects and features of the present invention will be readily apparent to those skilled in the art from a review of the following detailed description of preferred embodiments in conjunction with the accompanying drawings.
BRIEF DESCRIPTION OF THE DRAWINGS The invention will be further understood from the following description with reference to the drawings in which:
Figure 1 is a diagram showing an embodiment cf a verification system generator in accordance with the present invention;
Figure 2 is a flowchart showing an embodiment; of a method for generating a verification system in accordance with the present invention;
Figure 3 is a flowchart showing steps of formal specification generation shown in Figure 2;
Figure 4 is a diagram showing a structure of a Support Operation System (SOS);
Figure 5 is a diagram showing an example of formal specification generation; Figure 6 is a diagram showing an example of test suite generation;
Figure 7 is a diagram showing an example of test harness environment;
Figure 8 is a diagram showing an example of test execution features; and
Figure 9 is a diagram showing an example of test execution levels.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS There are different kinds of API entities, such as procedures, operations, functions, methods in C++ and subroutines in Fortran. In this specification, these terms are considered synonyms and all are called "procedure" . Referring to Figures 1 and 2, an embodiment of a verification system generator 1 and a method for generating a verification system 2 in accordance with the present invention are described. The verification system 2 is generated for verifying a procedure interface 4 of a System Under Test (SUT) 3. The verification system generator 1 comprises means 12 for generating formal specifications, a test source generator 14 and a repository 16. As shown in Figure 2, the means 12 for generating formal specifications generates formal specifications of the procedure interface 4 (S10). Based on the formal specifications, the test source generator 14 generates test sources (S20). The generated formal specifications and the test sources are stored in the repository 16 (S30) . The test sources are used to generate a test suite 22. The test suite 22 is a set of programs and test data intended for the use in verifying the target procedure interface 4.
The formal specifications are generated in a form independent from implementation of the SUT 3. That is, the formal specifications do not depend on the implementation language, software or hardware of SUT 3, as further described later. The test sources that are generated based on the implementation independent formal specifications are also implementation independent. Accordingly, the test sources may be used on any implementation of the SUT or modified versions of the SUT.
The SUT 3 uses specific implementation language. The test sources are written in specification language that is independent from the implementation language. Accordingly, in order to execute the test sources on the SUT 3 to verify the procedure interface 4 of the SUT 3, the test sources are translated in language executable on the SUT 3 (S40) . The translation is carried out by an implementation language compiler 18. The compiler 18 compiles some executable subsets of test sources in the specification language into programs in the implementation language of the SUT 3. The complied programs are specifications in implementation language that can be interpreted as description of some algorithms.
Thus, the generation of the verification system 2 is carried out in two stages. First, generation of implementation independent programs is performed. Then, implementation independent programs are compiled into those in implementation language of the SUT 3. Such a two step generation method allows the means 12 for generating specifications and the test source generator 14 of the verification system generator 1 to be implementation- independent tools and, in particular, implementation-language- independent tools.
The compiler 18 may be a part of the verification system generator 1 or may be provided separately from the verification system generator 1.
The compiled test sources form the test suite 22. As the test sources are implementation independent, the test suite 22 is also independent from the implementation of the target SUT 3, other than the language used. That is, the test suite 22 does not depend on the implementation software or hardware of SUT 3. By using the test suite 22, a test harness 20 including the test suite 22 and a test bed 24 is formed for verifying the procedure interface 4 of the SUT 3, as further described below.
The test suite 22 executes tests on the SUT 3 (S50) and analyses results of the tests to verify the procedure interface 4 (S60) .
The verification system generator 1 "automates" test generation of real software for verifying a procedure interface 4 of an SUT 3. The expression "automation" used herein does not necessarily mean fully automated manipulation that creates ready for use test data, test sequences and other infrastructure for test execution and test result analysis. An "automated" process may include steps of manually writing some components in implementation language. When the total size of such manually developed components is small as a whole, the process may be considered "automated". It is preferable that the test source generator 14 comprises a test driver generator 30 and a test case parameter generator 32.
The test case parameter generator 32 generates test case parameter sources for generating test case parameters . That is, the test case parameter generator 32 generates constant arrays and programs that generate and select needed test case parameters. The test case parameters are represented by these constant arrays and programs. Based on the formal specifications, the test driver generator 30 generates test driver sources for generating test drivers. The test drivers execute tests on the SUT 3 using the test case parameters in implementation environments and analysing results of tests. The test drivers comprise programs to execute and control testing of the procedure interface 4. The test case parameters are parameters of a test case. A test case is an instance of a tested procedure. A test case is defined by a procedure name and its parameters, i.e., test case parameters. Also, state of environment may be a factor of defining a test case. The test drivers use the test case parameters and execute test cases on the SUT 3 to verify the procedure interface .
The test driver generator 30 generates the test driver sources which, once compiled into the test drivers by the implementation language compiler 18, fulfil functions to initialize the procedure interface 4, prepare input values, call tested procedures with test case parameters, and receive test procedure results and analysis of the test results. In general case, the test driver sources are complex programs. It is preferable that the test driver generator 30 generates the test driver sources that, once compiled into the test drivers, do not only pass some previously generated test case parameters to the SUT 3, but also control the state of the SUT 3. If the SUT state violates some conditions of the test, the test drivers do not supply test parameters to the procedure interface .
As the formal specifications are implementation independent, the generated test driver sources and test case parameter sources are also implementation independent.
The test driver generator 30 preferably comprises a basic driver generator 34 and a script driver generator 36. The basic driver generator 34 analyses the formal specifications, and generates the basic driver sources comprising programs in implementation-independent language. The basic driver sources are used for generating a basic driver in implementation language. The basic driver is a test driver for a target procedure . The basic driver checks whether pre-conditions for the target procedure 4 hold for a given tuple of input parameters, calls the target procedure 4 with the given tuple of input parameter, records corresponding output parameters, and assigns a verdict on the correctness of the target procedure execution results. The basic driver preferably also collects information necessary to estimate test coverage or investigate reasons for a fault, as described below.
The script driver generator 36 generates script driver sources which describe sequences of calls to the basic driver with different test case parameters. The script driver sources are used for generating script drivers in implementation language. A script driver is a test driver for a target procedure or a set of target procedures. A script driver reads test options, generates sets of input parameters based on test options, and calls a basic driver with some set of input parameters. A script driver may also perform extra checking of the correctness of the target procedure execution results and assigns a verdict. A script driver may also check whether the test coverage is complete, and if not, it may continue to generate sets of input parameters and call the basic driver with this tuple. The present invention may be suitably applied to generation of a verification system for arbitrary procedure interface of arbitrary systems. For example, the present invention is suitably applied to generate a verification system for procedure interfaces of a kernel of a Support Operating System (SOS) for a Digital Multiplexing Switch (DMS) . The invention is hereinafter described mainly for verification of SOS kernel interfaces, but it is not limited to this application.
Genera ting formal specifica tions
The generation of the formal specifications of the procedure interfaces is further described referring to Figures 3 and 4. The means 12 for generating specifications first provides a function (F12) for defining procedure interfaces of the SOS kernel (S12) .
As shown in Figure 4, SOS 40 has SOS kernel 42 and SOS utilities 44. SOS 40 supports applications 46. SOS 40 is written using Nortel Networks Corporation's proprietary programming language called Protel, which is an example of the implementation, or target, language.
The SOS Kernel 42 comprises a plurality of procedures. The procedure interface defining function (F12) categorises the procedures of the SOS Kernel 42 into two groups: one group for those depending on implementation of SOS 40, and the other group for those independent from implementation of SOS 40. The procedure interface defining function (F12) then defines procedure interfaces to consist of procedures that are implementation independent. The defined procedure interfaces form a Kernel Interface Layer (KIL) . KIL 43 does not depend on implementation and, in particular, on hardware special features of SOS 40. The procedure interfaces of KIL 43 are defined such that each procedure in KIL 43 performs one and only one service. No two procedures provide the same service. Thus, KIL 43 comprises minimal and orthogonal procedures needed by upper layers of SOS 40 and applications 46. KIL 43 hides internal data structures and implementation details of the SOS kernel 42. Based on the defined procedure interfaces of KIL 43, the means 12 for generating specifications provides a function (F14) for developing implementation independent description of the procedure interfaces of KIL 43 (S14).
The description developing function (F14) rigorously describes functionality of the procedure interfaces of KIL 43. The implementation independent description may be developed using reverse engineering. The basic idea of the reverse engineering approach is a gradual "upwarding" of data representation in defined implementations. "Upwarding" is increasing the level of abstraction.
For example, as shown in Figure 5, it may be developed using source code 50 of the SOS kernel 42. The source code 50 is in the implementation language of SOS 40. The source code 50 is compiled into implementation independent language to generate a prime specification, i.e., implementation independent description 54. It is preferable to use an implementation independent language compiler 53 to carry out this compiling process automatically.
The implementation independent description may also be developed from documents or other information of the SOS Kernel 42.
As shown in Figure 3, the means 12 then provides a function (F16) for deriving formal specifications of KIL 43 from the implementation independent description (S16) . In the example shown in Figure 5, the level of abstraction of the prime specification 54 is increased to generate a formal specification 56. This abstraction process 55 may be carried out manually.
It is preferable to use Rigorous Approach to Industrial Software Engineering (RAISE) to generate formal specifications. RAISE Specification Language (RSL) is suitable to write formal specifications. RSL is supported by commercial tools for syntax and semantics checking, such as an EDEN-sintaxicaly oriented editor, a RAISE to ADA compiler, and a RAISE to C++ compiler.
Other RAISE features, e.g., axiom, algebraic specifications and channels may be used in semiformal considerations and explanations.
Also, it is preferable to use model-oriented specification in implicit form as the main form of specification. The implicit form describes a target procedure using pre-conditions and post-conditions of the target procedure .
The means 12 for generating specification may comprise a tool or a set of tools for providing above described functions for aiding a specifier to manually or semi-automatically generates the specifications. An example of such tools is the implementation independent language compiler 53 as described above . It is preferable to classify procedure interfaces of the target SUT by using the specifications. The following classification of procedures of a procedure interface is suitably used for generating a verification system for the procedure interface. The procedure interface classes include five main classes of procedures and some extensions of classes including procedures tested in parallel and expected exceptions. The classes are organized hierarchically. The first class establishes the strongest requirements. Each following class weakens the requirements. The requirements for the five classes are as follows:
KIND_1: The input is data that could be represented in literal (textual) form and can be produced without accounting for any interdependencies between the values of different test case parameters. Such procedures can be tested separately because no other target procedure is needed to generate input test case parameters and analyse the outcome of the tests .
KIND_2 : No interdependencies exist between the input items, i.e., values of input test case parameters. The input does not have to be in literal form. Such procedures can be tested separately. Examples of this class include procedures with pointer type input parameters.
KIND_3: Some interdependencies exist, however, separate testing is possible. Examples of this class include a procedure with two parameters in which the first one is array and the second one is a value in the array.
KIND_ : The procedures cannot be tested separately, because some input test case parameters can be produced only by calling another procedure from the group and/or some outcome of tests can be analysed only by calling other procedures. Examples of this class include a procedure that provides stack operations and that receives the stack as a parameter .
KIND_5 : The procedures cannot be tested separately. Part of the input and output data is hidden and the user does not have direct access to data. Examples of this class include instances of Object-Oriented classes with internal states; and a group of procedures that share a variable not visible to the procedure user. Exception raising extension of API classes: The specific kind of procedures raise exceptions as a correct reaction to certain input test case parameters. Examples of this class include a procedure that is supposed to raise an exception after dividing by zero. If zero received as an input parameter, then this procedure must not return any return code .
Genera ting test sources
The generation of the test sources is further described referring to Figure 6. Figure 6 shows an example of the test generation for a KIL 43 using RAISE as implementation independent language.
The test source generator 100 comprises a basic driver generator 102, script driver generator 104 and test case parameter generator 106. In this example, the test source generator 100 uses UNIX, and the target SOS kernel 42 uses target language. The formal specifications 110 are generated in RSL. Accordingly, the test source generator 100 uses an RSL-target language compiler 108 as an implementation language compiler.
The main source of the test source generation is the RAISE specifications 110. The RAISE specifications 110 are written in RSL. The RAISE specifications 110 may be those generated by the means 12 for generating specifications shown in Figure 1 or those stored in the repository 116. The basic driver generator 102 receives the specifications 110. The basic driver generator 102 is a tool for generating basic driver sources, i.e., RSL basic drivers 103. The RSL basic drivers 103 are testing procedures in RSL. The basic driver generator 102 executes analysis of the RAISE specifications 110. Based on the analysis results, the basic driver generator 102 generates testing procedure programs comprising the RSL basic drivers 103. That is, the basic driver generator 102 generates, as the RSL basic drivers 103, programs for checking input test case parameters, calling tested procedures, tracing and analysing the test results, assigning a verdict of the outcome, and outputting trace information.
The basic driver generator 102 preferably also generates source for test case parameter generation 109. The source 109 for test case parameter generation preferably includes source for partition analysis, as described below.
The results 103, 109 of the basic driver generator 102 are fully completed in RSL sources. RSL generated sources do not require any customization as they are implementation independent .
The RSL basic drivers 103 generated by the basic driver generator 102 are compiled by the RSL-target language compiler 108 into basic drivers 122 in the target language. The basic drivers 122 comprise target language procedures. Other than the language used, the RSL basic drivers 103 and the basic driver 122 in the target language are the same.
For each procedure in KIL 43, one basic driver 122 is generated. Each basic driver 122 provides direct call of a target procedure in KIL 43, and provides common facilities to test the target procedure. That is, each basic driver 122 takes input test case parameters for KIL 43, and checks preconditions of the target procedure. If the pre-conditions are correct, the basic driver 122 makes the call of the target procedure, and checks post-conditions of the target procedure. The basic drivers 122 may carry out test result analysis by recording execution outcomes and comparing them with required outcomes. The basic drivers 122 may provide the result of the analysis as a verdict. The verdict may be either "passed" or "failed". The "passed" verdict means that no error is detected. The "failed" verdict means that an error is detected.
The basic drivers 122 may have a test oracle to automatically perform the analysis of the test outcome. The test oracle is a program that assigns a verdict on the correctness of outcome for the target procedure. The test oracle is similar to post-conditions. Both the test oracle and the post-conditions have Boolean functions. They have the same parameters, and return "True" if the target procedure produces a correct result and "False" otherwise. Accordingly, the test oracles can be generated once the post-conditions are generated.
The test result may depend on the SOS state and the history of SOS functioning. In order to fulfil its function, each basic driver 122 preferably also generates programs to support a model of SOS state. The model is used to check acceptability of test case parameters in different contexts and to analyse correctness of test results. The test case parameter generator 106 receives the source for test case parameter generation 109 from the basic driver generator 102. Then, the test case parameter generator 106 generates test case parameter sources, i.e., RSL test case parameters 107. The RSL test case parameters 107 may be constant arrays or programs. The test case parameter programs are also fully completed RSL sources.
The test case parameter generator 106 may also generate test case parameter sources from the specifications.
The RSL test case parameters 107 are compiled into test case parameters 126 by the RSL-target language compiler 108. The test case parameters 126 are input parameters for procedures under testing. Therefore, they are used for basic driver procedures. The test case parameters 126 may include only numeric and/or boolean input parameters. For example, a KIL of SOS includes about 140 procedures which need only such input parameters. These procedures are called KIND_1 procedures, as described above.
The script driver generator 104 receives the RAISE specifications 110, and generates script driver sources, i.e., RSL script drivers 105. The RSL script drivers 105 are compiled by the RSL-target language compiler 108 into script drivers 124 in the target language. Other than the language used, and the RSL script drivers 105 and the script drivers 124 in the target language are the same. The script drivers 124 are the upper level of the basic drivers 122.
Each RSL script driver 103 is a program for testing of a procedure or a group of procedures . It is a sequence of target procedures calls. The sequence may have serial or parallel composition. The sequence may have iterations. The RSL script drivers 103, once complied into the script drivers 124 by the compiler 108, realize a scenario or script of testing .
The script driver generator 104 generates, as the RSL script drivers 105, programs to realize the sequences of procedure execution with different test case parameters. The script driver generator 104 generates the RSL script drivers 105 to have no direct interaction with target procedures. That is, the RSL script drivers 105, once complied into the script drivers 124, call the basic driver 122. One or more RSL script drivers 105 may be written to be called by procedures which function as suppliers of test case parameters 126, or procedures that allow a system operator to control a procedure group testing.
The script driver generator 104 may also generate programs to check the verdicts of the basic drivers 122. The script driver generator 104 may also generate programs to assign script driver own verdicts based on the basic driver verdicts .
It is preferable that the script driver generator 104 uses script driver skeletons 112 in addition to the specifications 110. The script driver skeletons 112 describe general scheme of script drivers. That is, each script driver skeleton contains an algorithm of a script driver. The script driver skeletons 112 are specific to each kind of procedure interface.
Each script driver consists of declarations and a body. The declarations include import of the procedure under test and its data structure definitions and/or import of all data and types used in the specifications. The declarations are generated automatically based on the list of procedures under test and their specifications 110. The body of a script driver begins with the script driver option parsing. The options, as parameters of the script driver as a whole, determine the depth of testing, e.g., the level of test coverage criteria, and some specific data like interval of values, duration of testing.
In the example shown in Figure 6, in order to generate an RSL script driver 105, the script driver generator 104 uses one of the skeletons 112 and the RAISE specifications 110.
Union of the specifications 110 and skeletons 112 forms formal description of test suite sources. This formal description may be considered as a test suite specification. The test suite specification allows the generator 100 to define test coverage requirements, schemes of script drivers, and algorithm for checking target procedure behaviours.
The script driver skeletons 112 for a new target SUT may be manually developed or received from the repository 116. Before testing starts, the verification system carries out some initialization. For example, before testing write/read procedures, the verification system opens a file. Such initializations are written manually. After initialization is finished, the main part of the script driver begins.
In addition to specifications 110 and skeletons 112, the script driver generator 104 may also use some supplement sources, such as some instances of test case parameters values .
The script driver generator 104 may also use procedures that convert values derived from the RAISE specifications 110 into value formats used by the current version of SOS kernel 42. Because the specifications 110 are implementation independent, correspondence between the specifications 110 and implementation data structures is separately described. Thus, it is preferable to use some means for associating abstract objects with implementation objects. Some target language procedures convert data from their representation in implementation to and from their representation in the test suite 120. Such target language procedures may be used as the associating means. The target language procedures use post- conditions of the procedure under test. The target language procedures may be manually developed.
These additional sources including manually written skeletons may be called "manually developed components" . The size of manually developed components is not large compared to the automatically generated components in the verification system generator 100.
For KIND_1 procedures, full automation of test generation is possible. All other kinds generally need some additional effort for writing manually developed components. The effort gradually grows from KIND_2 to KIND_5. The extensions require more effort than the corresponding kinds themselves. Complexity and effort for the development of manually developed components is usually caused by the complexity of the script driver generation and debugging. All script drivers for different classes of procedures have similar structure. The main distinction is the distribution between automatically generated components and manually developed documents. The KIND_1 script driver is generated fully automatically, KIND_2 script driver is generated almost automatically and so on.
The scheme of a script driver is further described in more detail using an example of a KIND_5 script driver.
The KIND_5 script driver realizes a general algorithm for traversing an abstract Finite State Machine (FSM) . This algorithm passes all states and all possible transitions between the states. Each transition corresponds to an execution of a procedure under test.
The algorithm of a script driver is related to the specification and does not depend on the implementation details outside the specification. The script driver algorithm does not have direct descriptions of the abstract FSM. The verification system generator 100 avoids use of direct descriptions because direct specification of the FSM requires extra efforts to generate. Instead of a direct specification of FSM, the verification system generator 100 uses indirect, virtual representation of FSM. Such representation includes a function-observer and a function-iterator. The function- observer calculates on the fly the current state in the abstract FSM. The function-iterator selects a next procedure from the target procedure group, and generates a tuple of the input parameter values for this procedure.
The KIND_5 script driver algorithm is described in more detail. For example, a case of testing a procedure group is considered. After passing several FSM states, i.e., some target procedures have been called, the next transition is being made. This elementary cycle of testing starts by calling a function-iterator that selects the next procedure from the target procedure group, and prepares a tuple of input test case parameter values for this target procedure. If the function-iterators have managed to generate a new and correct tuple without violation of pre-conditions, then the script driver calls a corresponding basic driver with the tuple as actual test case parameters.
When the basic driver returns a verdict, the control script driver checks the verdict assigned by the basic driver. If the verdict is "False", i.e., an error has been detected, the script driver produces corresponding trace data and finishes. If the verdict is "True", i.e., the elementary test case passed, the script driver calls the function-observer. The function-observer then calculates a current state, logs the state and transition, and continues to traverse FSM.
Thus, all possible states and test the procedures with all needed sets of input parameters may be obtained. FSM is used here as a guideline to pass through all states the needed number of times.
As described above, the script drivers are preferably composed following the requirements of the corresponding skeletons. In this embodiment, overall, the verification system generator 100 uses five skeletons needed for serial testing of API KIND-1 through KIND_5 and one skeleton for parallel testing. Based on a corresponding skeleton and the list of target procedures and specifications, the verification system generator 100 generates a script driver template for each class. A KIND_1 template is a ready-to-use program. The templates for the other kinds include several nests with default initiators and iterators. If a test designer does not need to add or improve anything in the nests, the template can be compiled by the RSL-target language compiler 108 and executed as a script driver 124. This situation is typical for a KIND_2 procedure interface. For other kinds, a test designer usually adds some specific initiators and iterators as RSL supplement 115. The test designer defines FSM state observer for the script drivers of KIND_4 and KIND_5. In the generator 100, all kinds of generation by generators 102, 104, 106 produce results 103, 105, 107, 109 in RSL. This means that "front end" of specification and verification technology is implemented in implementation language independent form. All generators 102, 104, 106 can produce the components 122, 124, 126 of the test suites 120 for systems implemented in arbitrary programming languages. Compilation of generated sources 103, 105, 107 by the RSL-target language compiler 108 may be carried out when generation of all sources 103, 105, 107 is completed. The
RSL-target language compiler 108 translates executable subsets of RSL language into programs in the target language. Thus, the RSL-target language compiler 108 restricts RSL. These restrictions are typical for all RSL language compilers. For example, the RSL-target language compiler 108 does not treat explicit definitions of constants if the user does not define the concrete constant value but only defines limitations that restrict constant field of values.
The RSL-target language compiler 108 is implementation- language dependent. The result of the RSL-target language compiler 108 is generally a group of complete target-language sections. This is a part of the target language module that consists of a few sections. For obtaining a target language program which is ready to execute, some target language sections with interface descriptions may be produced. Interfaces or behaviour of some procedures from SOS are written once and do not need to be rewritten repeatedly. The target language sections with interface descriptions may be produced manually. These target language sections may be called target language supplement 114.
In order to correctly use different generation/compiling tools, it is preferable to know interdependencies between modules of specifications and between results of generation/compiling, i.e., the target language sections, and other target language modules/sections that were manually developed or had been produced by other tools. These interdependencies may be represented by a graph. The complexity of such a graph of interdependencies depends on the size of the procedure interface under test.
For example, currently KIL consists of over 560 procedures divided into over 30 subsystems. For each subsystem, there exists, at least, a basic driver module, and as a whole there exist about 200 script driver modules. For each RSL driver, at least one target language module is generated and stored. Besides, the target language modules consist of a few sections and each section is stored in a separate file. As a whole, KIL requires over 10,000 files. In order to facilitate use of test generation/compiling tools, it is preferable to provide a work "manage" utility, as described later.
The basic drivers 122 invoked by the script drivers 124 are generated fully automatically. The only manually developed components called from basic drivers 122 are data converters of the RSL-target language compiler 108. As mentioned above, the converters transform the model data representation into the implementation representation and vice versa. A model representation is distinguished from the implementation one by the level of abstraction. For example, models may use "infinite" representation of integers, maps, relations, and other data structures suitable for specification. Sometimes model representation is very similar to the implementation one. In this case, such transformation is done by a standard translation algorithm of the specification language into the implementation language.
The verification system generator 100 is suitably used for generating a verification system for a continual evolving SUT. SOS may be evolved in accordance with its life cycle. During evolution cycle, requirements, interfaces or behaviour of some procedures from the SOS kernel, and implementation of SOS are repeatedly modified. For each new version of SOS, it is necessary to develop a new version of verification system. Therefore, it is beneficial to automate process of regeneration of the verification system. Life cycle of test suites 120 generated by the verification system generator 100 replicates life cycle of the SOS Kernel 42. Usually, only a few interfaces or behaviour of some procedures from the SOS kernel are modified. The verification system generator 100 provides a possibility to re-specify modified interfaces or behaviour of some procedures from the SOS kernel and then re-generate test suites 120, and in doing so to provide re-use of old manually developed components. Thus, the verification system generator 100 can automate test suites regeneration. Therefore, existence of manually developed components does not decrease actual level of automation of the verification system generation.
To support automatic regeneration of test suites 120, the verification system generator 100 preferably stores in the repository 116 all manually developed components developed for generating the test suites 120 separately from automatically generated components. The manually developed components supplement automatically generated components. Therefore, process of the test suites components manually development may be called "supplement". Thus, the verification system generator 100 may use two kind of sources for generating test sources: formal specifications and some supplement sources. As automatically generated and manually developed components of the verification system generator 100 are stored separately, no manual changes in automatically generated components are needed. Therefore, the verification system generator 100 can eliminate need of customizing automatically generated files for each regeneration of the test suites 120.
To estimate effort for generating verification system, a volume of modified interfaces or behaviour of some procedures from the SOS kernel is first estimated. When no interface is modified during SOS evolution, then no test (re) generation is needed. In that case, only realization, i.e., implementation, of SOS is modified. Therefore, previous specifications 110 and previous test suites 120 can be used for validation of the new KIL.
When some interfaces or behaviour of some procedures from the SOS kernel are modified or added during SOS evolution, then corresponding specifications 110 need to be modified. When interface data structures are modified, in addition to specifications 110, some conversion procedures in the target language also need to be (re) developed. Those target language conversion procedures may be manually developed. In any case, some reasons for test plan modification may arise. For example, these modifications may be caused by wishes to increase amount of tests, decrease time of testing, to check correlation of some features for parallel execution and so on. In those cases, some manual modification to manually developed components may be needed. When manual modifications are completed, a test designer can automatically generate new test suites 120 for validation of the new SOS kernel by using the verification system generator 100.
In a simple case, it may suffice to modify the specifications 110 of types of pre-condition or post-condition of a target procedure. When new modification of procedure behaviour does not imply on behaviour of other procedure, the generator 100 needs only to regenerate a basic driver for verification of the modified procedure. In a complicated case, the generator 100 may need to regenerate totally new test suites including new basic drivers and script drivers. What volume of test suite modification is required depends on dependencies inside of the specifications 110 and between separate parts of the specifications 110 and test suites components 122-126 generated from these parts. Existing "manage" utility may be used which automates regeneration and recompiling of new test suites, as described later.
In order to port a test suite 120 generated by the verification system generator 100 from one implementation language platform to another, the data converters need to be rewritten and a new RSL to implementation language compiler needs to be provided. Also, a new run-time support system for the test suites with new test bed functions needs to be provided.
It is preferable that the verification system generator 100 also generates data for test coverage estimation and test plan design. The data is preferably kept in the repository 116.
Test coverage measures the completeness of testing. Sometimes, test coverage is presented as percentage of checked test situations. Sometimes, it is a list of test situations that have been or should be checked by the test suites. Test coverage requirements present all possible test situations that must be covered by test suites execution. If test suites 120 meet the requirements, then "exhaustive" or "100%" test coverage is gained. There is a difference between test coverage estimation for source code and for specifications. In the case of source code, a test situation is associated with a statement, branch of path in control flow graph of a program. In the case of specifications, the specifications are represented as logical expressions, i.e., boolean expressions. Thus, test situations are associated with branches and disjuncts of boolean expressions. Therefore, by using test situations for specifications, it is possible to define test coverage requirements for arbitrary specifications. This allows uniform notation for description and accounting of the test situations, coverage requirements and obtained coverage.
The test suites are generated based on the specifications. The specifications are implementation independent. Thus, the test coverage is preferably measured by means of an implementation independent way. For this purpose, the verification system preferably uses test coverage criteria which are based on the specifications.
In complex SUTs, "all test situations" may not be covered. Accordingly, it is preferable to group similar test situations in classes. In this case, exhaustive coverage may represent coverage of all classes of test situations. Test situations and their classes may be identified and classified based on implementation source code or some external descriptions of the procedures under test. When a so-called "black box" approach is taken to test SUTs, test situations and their classes are identified and classified based on knowledge of descriptions of the procedures under test.
The test coverage criterion is a metric defined in terms of implementation or specification. The most well known test coverage criteria in terms of implementation are: Class 1 - all statements are passed; and Class 2 - all branches are passed.
In the case of using the specifications for test coverage criteria definition, the so-called domain testing approach is preferably, used. The whole input space is partitioned into areas by the basic driver generator. Each area corresponds to a class of equivalence.
The source for test case parameter generation 109 generated by the basic driver generator 102 preferably includes source for the partition analysis. The partition determines the choice of one of the test generation techniques applicable to a procedure interface or an interface of a procedure group. The source for partition analysis includes a list of test situation classes that represent test coverage requirements, and initial data for partition analysis. The source for partition analysis is used to generate test case parameters 126.
The partition may be derived from the specifications that describe requirements on input and properties of outcome for target procedures. Both the requirements and properties are represented in pre-conditions and post-conditions of formal specifications in implicit form. Accordingly, the test coverage estimation can be carried out based on the implicit specifications. In this example, the average percentage of the test coverage of the verification system generated by the generator 100 for SOS KIL is 70% to 100% of statements in the implementation .
Furthermore, there are two levels of the test coverage criteria. The first one is the coverage of all branches in post-conditions. The second one is the coverage of all disjuncts, i.e., elementary conjunctions, in the Full Disjunctive Normal Form (FDNF) representation of the postcondition while taking into account the pre-condition terms. The verification system generator 100 allows automatic partitioning in terms of specification branches and FDNF. It is preferable to calculate accessible FDNF disjuncts and remove the inaccessible FDNF disjuncts using pre-condition design . Monitoring of obtained test coverage is preferably conducted on the fly by script drivers 124. Based on this data, the script drivers 124 may tune testing parameters and/or testing duration. As described above, the verification system generation consists of a sequence of steps. For a step, needed tools are used where possible. Some tools generate auxiliary data, others convert and union their output and generate resulting target language code. To facilitate usage of these tools, it is preferable to use "manage" utility. The "manage" utility is a tool which works on a standard structure of UNIX directory where the tools and sources for verification system generations and generated test suites are stored.
The "manage" utility works like UNIX "make" . It analyses an interdependencies graph which represents interdependencies of the test suite components, and searches "inconsistencies" in the graph. Each "inconsistency" requires to make some kind of generation and compiling. After the "manage" utility removes all "inconsistencies", all needed test suites components become ready to use. The "manage" utility uses a set of UNIX scripts and UNIX "make" files. The "manage" utility uses description of paths for all files used. It is preferable to define a "standard" directory structure to store sources and generated files for generating verification systems, and directories of the verification system generator.
Test execution and testing resul t analysis
Referring back to Figure 1, the verification system 2 is generated by compiling the test suite sources using the implementation language compiler 18 as described above. The generated test suites are then loaded into the target SUT 3. During the test execution, the contents of the repository 16 are used and updated.
In order to execute the tests on the SUT 3, eg, the SOS kernel, it is preferable that the verification system 2 uses a test harness 20. The test harness 20 is a software system used in the process of test execution and communicating with a target SUT 3.
Figure 7 shows an example of the test harness environment using the test suites 22. The test harness 20 comprises the test suites 22 and test bed 24. The test suites 22 comprises test drivers 60 including basic drivers and script drivers, and test case parameters 62.
The test bed 24 is a run-time support and some infrastructure features for test execution to enable functionality of the test drivers 60. The test bed 24 is a resident component of the verification system 2 located in SUT image, e.g., SOS image 48. During the test execution, the test harness 20 and SOS Kernel 42 form an instance of SOS image 48. This image 48 is a binary code structure that may be executed on a DMS switch.
In order to facilitate test execution, it is preferable that the verification system 2 uses a "Test Integrated Environment (TIE)" 26, as shown in Figure 1. The TIE 26 comprises a set of tools for executing test execution features and test analysis features. Some of the tools may be stored in repository, and others may be stored in separate files, e.g., UNIX files. The tools of the TIE 26 are executed under UNIX on a front-end computer or other OS. The test harness 20 with the SOS Kernel 42 is executed on the target hardware, e.g., DMS .
Figure 8 shows test execution features 130. The test execution features 130 include test plans design 132, test plans execution 134 and testing result analysis 136. A test plan is a program that defines the order of script driver calls with the given test options. The test plan also checks the script driver call conditions and termination correctness .
Each test plan fulfils testing of a set of subsystems of SOS Kernel 42. A subsystem is a set of procedures. An elementary component of a test plan is a test sequence. A test sequence is an instance of script driver execution with corresponding parameters. A test plan defines a serial or parallel order of test sequences. The purpose of the test plan is to check behaviour of subsystems under test in definite compositions. The test plan controls and manages test sequence execution. This control is executed by feedback which executes analysis of trace information. An algorithm of the test plan is called a test script. Besides the set of basic drivers, script drivers and test case parameters, the test harness may also contain a test plan interpreter, a repository and tools for test plan execution and querying the results kept in the repository. The repository contains information about all test executions, code coverage metrics for different procedures with different test coverage criteria, and all situations when test drivers assigned a negative verdict.
Such test plan interpreter, repository and tools may be provided separately from the test harness. The test scripts are preferably described in a script language. The script language is a lightweight programming language. In general, all possibilities provided by the script language may be realized by means of implementation language or other programming language. But, if those implementation languages are used, in order to compose ready- to-use script drivers, a test designer would have to implement usual programs and have to face usual troubles of linking/loading/debugging. However the script language allows to facilitate producing large variety of test sequence compositions for trial of large variety of test situations. Thus, it avoids wasting of time for compiling, linking and debugging usual for implementation language programs.
Source materials for the test plan design 132 are script driver informal description and test coverage requirements for the target subsystem (s) . The script driver description includes script drivers options description of resources needed for different options. Besides, the description may declare possibility or impossibility of sequential or parallel composition of this script driver with other script drivers.
As shown in Figure 9, the test execution 134 uses a hierarchical structure 140 comprising a user level 142, test plan level 144, script driver level 146 and a basic script level 148. At the user level 142, test plans are activated by the user or by means of batch file execution in a test program. This level is intended for users of the verification system. The users execute test plans and receive the analysis results. At the test plan level 144, a script driver is launched by a test plan. This level is intended for test plan designers who are also users of the verification system.
The introduction of the test plan level 144 and use of the script language specifically facilitate producing large variety of test sequence compositions for trial of large variety of test situations.
The introduction of the test plan level 144 also provides a possibility of feedback usage for script driver monitoring. The verification system supports two kinds of feedback information generated by the test drivers: verdicts and trace events shown by test coverage.
At the script driver level 146, the basic driver is called by a script driver. This level is intended for test designers who generate or write test suite components.
At the basic driver level 148, an interface procedure is called by the basic driver. Nobody has any access to this level. The basic driver is generated automatically, as described above. This level fulfils common functions of target procedure behaviour checking and tracing.
In the testing result analysis 136, verdict analysis is simple and is not informative. Verdict may be "PASSED" or "FAILED". All script drivers can analyse verdicts obtained from its governed basic driver.
Test coverage is a measured for estimation of quality, i.e., fullness, of testing. Direct goal of introduction of such measure is to decide if a test suite is complete or not. The test coverage indirectly defines a criterion of test selection. For test coverage analysis, the TIE 26 uses description of all possible test situations that can arise during a procedure or subsystem testing. The TIE 26 compares test coverage requirements stored in repository 16 and trace information obtained from SOS Kernel 42 during testing.
The test coverage requirements for the target subsystem (s) use knowledge of a set of test situations. Test situations can be used for feedback. For example, a test plan may iteratively launch a script driver with different options until a certain test situation has been passed. Test coverage requirements are preferably generated automatically by the basic driver generator 34, as described above.
The verification system 2 may not provide any special tool for the test plan design 132. The test plans may be placed in UNIX files.
For the test plan execution 134, the TIE 26 may provide a navigating tool 27. The navigating tool 27 provides a graphical user interface to browse specifications and testware to run test and analyse test results. The navigating tool 27 is executed on a front-end computer. It communicates with the target hardware 6 or with the target hardware emulator. In order to invoke a test plan, the user of the verification system 2 may push a section in the navigating tool graphic interface of the TIE 26.
During test execution, the test drivers in cooperation with the TIE 26 collects trace information generated by the test drivers. The trace allows to estimate completeness of the test coverage. The verification system 2 is intended for trial of non- stable (unreliable) SUT functioning. In particular, when a failure of the SUT 3 or the verification system 2 has raised during a test plan execution, it is preferable that the TIE 26 does not stop process of testing. In that case, the TIE 26 preferably stores the received trace information, then reloads the SUT 3, and continues to execute testing in accordance with list of test plans. Such scheme of testing may be called "incremental testing". It is easy for many users to use a navigating tool which is an interactive tool for specifications, testware browsing, test execution and test result analysis. However, manual test execution means may also be suitably used.
Test execution and test result analysis features are preferably grouped in Test Integrated Environment (TIE) as described above. A user interface is provided in the TIE by the navigating tool. All other components of the verification system are hidden by the shell of the navigating tool.
The navigating tool is intended to analyse test execution results, to navigate through the test suite directory tree and to browse test plans, script drivers, procedures and their specifications .
The user interface of the navigating tool may use a Graphical User Interface (GUI) . It may be Hyper Text Markup Language (HTML) document sets and Common Gate Gateway Interface (CGI) scripts.
The navigating tool may provide choices to, e.g., view subsystems, procedures, script driver kinds, script drivers, test plans and directories tree structure. The test plans link may be used to navigate through test plans available in the test system and to observe results of the test execution. When the user selects a test plan and choose a server on which those tests should be run, the navigating tool executes the tests using corresponding CGI scripts. To build the entire set of all test situations, a CGI script finds its subsystems for each procedure in a trace log. Also, for all subsystems from set constructed in the previous step, it merges their test situations to build an available test situations set. The user may force the navigating tool to exclude subsystems selected by the user from consideration during report generation to decrease the test situations set. This is useful when test plan invokes script drivers that call the procedures, which are not under test. Such additional procedures prevent the user from true coverage percentage calculation.
The test coverage report may contain a number of and percentage of covered branches, a number of and percentage of covered disjuncts, and values about number of and percentage of covered procedures, branches and disjuncts.
The execution log may allow to, e.g., show time stamp, exclude script messages, exclude process died notification, exclude precondition failure, exclude incorrect post parameter message, hide basic driver fault, show no script driver warning, hide script driver fault, show no script driver message. The show time stamp option directs browser to precede each line in the report by time stamp value when given event was registered.
It is preferable that the verification system generator 1 also provides facilities for installation and maintenance.
Installation consists of construction and filling a directory structure, setting environment variables and adding the user/administrator profiles. Utilities for installation are relatively simple. The maintenance facilities covers updating of specifications and other sources for test suites generation; generation/compiling of test suites; and trial of new modified state of the verification system 2. The sources for test suites generation may be developed or modified remotely. For each kind of above facilities, the verification system generator 1 may be provided with the corresponding utilities. If maintenance facilities do not have any restriction on resources, these utilities may be used in fully automatic manner. In general, modification of the verification system 2 may need to be performed step by step, for example, first generate a basic driver and second generate script drivers.
While particular embodiments of the present invention have been shown and described, changes and modifications may be made to such embodiments without departing from the true scope of the invention. For example, the present invention is described mainly using the verification system generator for verifying the SOS kernel. However, the present invention is suitably used for verifying a different system, such as a base level of call processing system, and a management system of tree-like store for queues with different disciplines. The present invention is mainly disclosed using RSL specifications. However, natural language documentation may also be used. Also, the present invention is mainly disclosed using UNIX. However, other operating systems may also be used.

Claims

What is claimed is :
1. A verification system generator for generating a verification system for verifying a Procedure Interface Under Test (PIUT), the verification system generator comprising: means for producing formal specifications of procedures of
PIUT in a form independent from implementation of the
PIUT; a test source generator for generating test sources based on the formal specifications; and a repository for storing the generated formal specifications and test sources.
2. The verification system generator as claimed in claim 1, wherein the test source generator comprises: a test driver generator for generating test driver sources which are used to produce test drivers that execute tests and analyse results of the tests in implementation environments of the PIUT; and a test case parameter generator for generating test case parameter sources which are used to produce test case parameters used by the test drivers for test execution.
3. The verification system generator as claimed in claim 1, wherein the test driver generator includes: a basic driver generator for generating basic driver sources, the basic driver generator analysing the formal specifications, and generating program sources of a basic driver for each PIUT; and a script driver generator for generating a script driver source which describes a sequence of calls to the basic driver with different test case parameters.
4. The verification system generator as claimed in claim 3, wherein the basic driver sources are used to produce basic drivers in a form independent from implementation of the PIUT, each of the basic drivers corresponding to each PIUT and, during the test execution, provides direct call of its corresponding PIUT, tests the corresponding PIUT, and traces and analyses test results of the corresponding PIUT.
5. The verification system generator as claimed in claim 3, wherein the basic driver generator further generates a list of test situation classes that represent test coverage requirements .
6. The verification system generator as claimed in claim 3, wherein the basic driver generator further generates initial data for partition analysis of the PIUT for the test case parameter generator to generate the test case parameter sources .
7. The verification system generator as claimed in claim 6, wherein the test case parameter generator receives the initial data from the basic driver generator, and generates programs for obtaining the test case parameters.
8. The verification system generator as claimed in claim 3, wherein the script driver sources are used to produce a script driver in a form independent from implementation of the PIUT, the script driver controls a sequence of calls to the basic drivers and the test case parameters during the test execution.
9. The verification system generator as claimed in claim 8, wherein the script driver further controls serial and parallel iterations of the test execution of the corresponding PIUT with different test case parameters.
10. The verification system generator as claimed in claim 3, wherein the script driver generator uses script driver skeleton description and PIUT prototype specification.
11. The verification system generator as claimed in claim 1 further comprising an implementation language compiler for compiling the test sources into an implementation language of the PIUT.
12. The verification system generator as claimed in claim 11, wherein the test source generator further comprises a manage utility which analyses interdependencies between the formal specifications and between the tests generated and compiled by the verification system and programs generated by other systems, searches inconsistencies, and removes the searched inconsistencies.
13. A method of producing a verification system for verifying a Procedure Interface Under Test (PIUT) , the method comprising the steps of: generating formal specifications of the PIUT in a form independent from implementation of the PIUT; and generating test sources based on the formal specifications, which test sources are used to generate a test suite in a form independent from implementation of PIUT for executing tests and analysing test results to verify the PIUT.
14. The method as claimed in claim 13, wherein the step of generating formal specifications comprises the steps of: defining PIUT; developing implementation independent description of the PIUT; and deriving the formal specifications based on the implementation independent description.
15. The method as claimed in claim 13, wherein the step of generating formal specifications uses Rigorous Approach to Industrial Software Engineering (RAISE) Specification Language (RSL) .
16. The method as claimed in claim 13, wherein the step of generating test sources comprises the step of generating constant arrays and programs for generating and selecting needed test case parameters.
17. The method as claimed in claim 13, wherein the step of generating test sources comprises the steps of: generating test driver sources which are used to produce test drivers that execute tests and analyse results of the tests in implementation environments of the PIUT; generating test case parameter sources which are used to produce test case parameters used by the test drivers for test execution; and creating test plans for carrying out tests based on the formal specifications.
18. The method as claimed in claim 17, wherein the step of generating test driver sources comprises the step of generating basic driver sources by analysing the formal specifications, and generating program sources of a basic driver for each PIUT.
19. The method as claimed in claim 18, wherein the step of generating test driver sources further comprises the step of generating script driver sources by creating skeletons describing general scheme of the script driver, and generating script driver sources based on the formal specifications and the skeletons.
20. The method as claimed in claim 18, wherein the step of creating test plans comprises the step of describing scripts for test execution, the scripts defining test sequences, each test sequence being an instance of a basic driver with definite test case parameters.
21. The method as claimed in claim 20, wherein the step of describing scripts uses a special script language which facilitates serial and parallel combination of the test sequences .
22. The method as claimed in claim 17, wherein the step of creating test plans includes the step of generating data for test coverage estimation.
23. The method as claimed in claim 13 further comprising the step of storing the generated formal specifications and test sources in a repository.
24. The method as claimed in claim 23, wherein the step of storing comprising the steps of: separating manually developed components from automatically generated components; and separately storing the manually developed components from the automatically generated components.
25. The method as claimed in claim 24, wherein the step of generating test sources includes the step of re-generating test sources using the manually developed components when the PIUT is modified.
26. The method as claimed in claim 25, wherein the step of re-generating test sources is carried out automatically.
27. The method as claimed in claim 13 further comprising the step of compiling the test sources into an implementation language used by the PIUT.
28. The method as claimed in claim 27, wherein the step of compiling the test sources includes the step of describing correspondence between the formal specifications and implementation data structures of the PIUT.
29. The method as claimed in claim 27, wherein the step of compiling the test sources using converting procedures that convert values derived from the formal specifications into value formats used by the PIUT.
30. A method of verifying a Procedure Interface Under Test (PIUT), the method comprising the steps of: generating formal specifications of the PIUT in a form independent from implementation of the PIUT; generating test sources based on the formal specifications; storing the formal specifications and the test sources in a repository; compiling the test sources into an implementation language used by the PIUT to produce tests; executing the tests on the PIUT; and analysing results of the tests to verify the PIUT.
31. The method as claimed in claim 30, wherein the step of generating test sources includes the step of regenerating test sources using the stored formal specifications and test sources when the PIUT is modified; and the step of executing the tests uses tests complied from the re-generated test sources on the modified PIUT.
32. The method as claimed in claim 30, wherein the step of executing tests comprises the step of using the generated test suite when only implementation of PIUT is modified.
33. The method as claimed in claim 30, wherein the step of executing the tests includes the step of generating and collecting trace information of the tests; and the step of analysing results comprises the step of estimating completeness of test coverage using the trace information.
34. The method as claimed in claim 30, wherein the step of generating test sources comprises the steps of: generating test driver sources which are used to produce test drivers that execute tests and analyse results of the tests in implementation environments of the
PIUT; generating test case parameter sources which are used to produce test case parameters used by the test drivers for test execution; and creating test plans for carrying out tests based on the formal specifications; and the step of compiling comprises the steps of: compiling the test driver sources into the test drivers; and compiling the test case parameter sources into the test case parameters.
35. The method as claimed in claim 34, wherein the step of executing the tests includes the steps of: initializing the PIUT; calling the test drivers with test case parameters in accordance with the test plans; and receiving results of the tests.
36. The method as claimed in claim 34, wherein the step of generating test driver sources comprises the steps of: generating basic driver sources by analysing the formal specifications for each PIUT; and generating script driver sources by creating skeletons describing general scheme of the script driver and generating script driver sources based on the formal specifications and the skeletons; and the step of compiling the test driver sources comprises the steps of: compiling the basic driver sources into basic drivers; and compiling the script driver sources into a script driver.
37. The method as claimed in claim 36, wherein the step of executing the tests comprises the steps of: executing the test plans; launching the script driver by one of the test plans; calling one of the basic drivers by the script driver; and calling a PIUT by the basic driver which executes the test on the PIUT.
38. The method as claimed in claim 30, wherein the step of executing the tests further comprises the step of updating the repository.
PCT/RU1999/000340 1999-09-17 1999-09-17 System and method for producing a verification system for verifying procedure interfaces WO2001022228A1 (en)

Priority Applications (12)

Application Number Priority Date Filing Date Title
PCT/RU1999/000340 WO2001022228A1 (en) 1999-09-17 1999-09-17 System and method for producing a verification system for verifying procedure interfaces
CA002319725A CA2319725A1 (en) 1999-09-17 2000-09-15 Method and system for describing predicates in disjuncts in procedures for test coverage estimation
CA002319721A CA2319721A1 (en) 1999-09-17 2000-09-15 Method and system for forming skeletons for generating verification systems
CA002319719A CA2319719A1 (en) 1999-09-17 2000-09-15 Compiler and method for compiling specification language into implementation language
US09/663,568 US6898784B1 (en) 1999-09-17 2000-09-15 Method and system for forming skeletons for generating verification systems
CA002319718A CA2319718A1 (en) 1999-09-17 2000-09-15 Method and system for testing behaviour of procedures
US09/663,726 US6697961B1 (en) 1999-09-17 2000-09-15 Method and system for describing predicates in disjuncts in procedures for test coverage estimation
US09/663,194 US6698012B1 (en) 1999-09-17 2000-09-15 Method and system for testing behavior of procedures
EP00308084A EP1089172A3 (en) 1999-09-17 2000-09-18 Compiler and method for compiling specification language into implementation language
EP00308127A EP1085418A3 (en) 1999-09-17 2000-09-18 Method and system for testing behaviour of procedures
EP00308085A EP1085417A3 (en) 1999-09-17 2000-09-18 Method and system for forming skeletons for generating verification systems
EP00308140A EP1085419A3 (en) 1999-09-17 2000-09-18 Method and system for describing predicates in disjuncts in procedures for test coverage estimation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/RU1999/000340 WO2001022228A1 (en) 1999-09-17 1999-09-17 System and method for producing a verification system for verifying procedure interfaces

Publications (1)

Publication Number Publication Date
WO2001022228A1 true WO2001022228A1 (en) 2001-03-29

Family

ID=20130396

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/RU1999/000340 WO2001022228A1 (en) 1999-09-17 1999-09-17 System and method for producing a verification system for verifying procedure interfaces

Country Status (4)

Country Link
US (3) US6898784B1 (en)
EP (4) EP1085417A3 (en)
CA (4) CA2319719A1 (en)
WO (1) WO2001022228A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100511176C (en) * 2004-01-13 2009-07-08 交响乐服务公司 Method and system for rule-based generation of automation test scripts from abstract test case representation

Families Citing this family (135)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2399720C (en) * 2000-02-11 2013-07-09 Convergent Networks, Inc. Service level executable environment for integrated pstn and ip networks and call processing language therefor
US6763497B1 (en) * 2000-04-26 2004-07-13 Microsoft Corporation Method and apparatus for displaying computer program errors as hypertext
US6938261B2 (en) * 2000-05-12 2005-08-30 Microsoft Corporation System and method employing script-based device drivers
US20030121027A1 (en) * 2000-06-23 2003-06-26 Hines Kenneth J. Behavioral abstractions for debugging coordination-centric software designs
US7698450B2 (en) * 2000-11-17 2010-04-13 Monroe David A Method and apparatus for distributing digitized streaming video over a network
GB2373073A (en) * 2001-03-08 2002-09-11 Escher Technologies Ltd Process and system for developing validated and optimised object-oriented software
WO2002075610A1 (en) * 2001-03-19 2002-09-26 Empirix Inc. Component/web service data synthesis using test software
JP3828379B2 (en) * 2001-05-17 2006-10-04 富士通株式会社 Test specification generation support apparatus, method, program, and recording medium
US20020188703A1 (en) * 2001-06-04 2002-12-12 Mckesson Information Solutions Holdings Ltd. Graphical tool for developing computer programs via specifications
US7917895B2 (en) * 2001-07-27 2011-03-29 Smartesoft, Inc. Automated software testing and validation system
US7093238B2 (en) * 2001-07-27 2006-08-15 Accordsqa, Inc. Automated software testing and validation system
US6928638B2 (en) * 2001-08-07 2005-08-09 Intel Corporation Tool for generating a re-generative functional test
US7266808B2 (en) * 2001-08-10 2007-09-04 Parasoft Corporation Method and system for dynamically invoking and/or checking conditions of a computer test program
US7028223B1 (en) * 2001-08-13 2006-04-11 Parasoft Corporation System and method for testing of web services
US7117270B2 (en) * 2001-08-15 2006-10-03 Precache, Inc. Method for sending and receiving a Boolean function over a network
US7055138B2 (en) * 2001-10-23 2006-05-30 Agilent Technologies, Inc. Test executive system with tree structure for summarizing results
US6968330B2 (en) * 2001-11-29 2005-11-22 International Business Machines Corporation Database query optimization apparatus and method
CA2366344A1 (en) * 2001-12-27 2003-06-27 Ibm Canada Limited - Ibm Canada Limitee Organization of test cases
US7213175B2 (en) * 2002-01-09 2007-05-01 Microsoft Corporation Methods and systems for managing an application's relationship to its run-time environment
US7216338B2 (en) * 2002-02-20 2007-05-08 Microsoft Corporation Conformance execution of non-deterministic specifications for components
US7117484B2 (en) * 2002-04-16 2006-10-03 International Business Machines Corporation Recursive use of model based test generation for middleware validation
US7502728B1 (en) * 2002-04-30 2009-03-10 Unisys Corporation Code coverage testing in hardware emulation
US7703077B2 (en) 2002-04-30 2010-04-20 Microsoft Corporation Programming model to detect deadlocks in concurrent programs
JP4182202B2 (en) * 2002-08-02 2008-11-19 富士通マイクロエレクトロニクス株式会社 Simulation coverage calculation apparatus and simulation coverage calculation method
US7712074B2 (en) * 2002-11-21 2010-05-04 Bing Ren Automating interactions with software user interfaces
US7210066B2 (en) * 2002-12-31 2007-04-24 Sun Microsystems, Inc. Method and system for determining computer software test coverage
US7613953B2 (en) * 2003-05-27 2009-11-03 Oracle International Corporation Method of converting a regression test script of an automated testing tool into a function
US7278135B2 (en) * 2003-06-11 2007-10-02 Microsoft Corporation Method and system for generating an efficient test suite from a domain description with given constraints
US20040261070A1 (en) * 2003-06-19 2004-12-23 International Business Machines Corporation Autonomic software version management system, method and program product
CN1567223A (en) * 2003-07-09 2005-01-19 松下电器产业株式会社 Programe generating device, method and procedure
US9135148B2 (en) 2003-09-15 2015-09-15 Selex Es Ltd Method, system, and computer-readable medium for generating a test program and test sequence
US7665067B2 (en) * 2003-09-15 2010-02-16 Cadence Design (Israel) Ii Ltd. Method and system for automatically creating tests
US7584455B2 (en) * 2003-10-23 2009-09-01 Microsoft Corporation Predicate-based test coverage and generation
US7284237B2 (en) * 2003-11-26 2007-10-16 Sap Aktiengesellschaft Testing flow control at test assertion level
EP1538778A1 (en) * 2003-12-05 2005-06-08 Andrea Informatique SARL System for automatically generating tests for validating a telecommunication apparatus
US7581212B2 (en) * 2004-01-13 2009-08-25 Symphony Services Corp. Method and system for conversion of automation test scripts into abstract test case representation with persistence
US7337432B2 (en) * 2004-02-03 2008-02-26 Sharp Laboratories Of America, Inc. System and method for generating automatic test plans for graphical user interface applications
US7797669B1 (en) * 2004-02-13 2010-09-14 Microsoft Corporation Analysis of distributed software systems via specification substitution
JP4749414B2 (en) * 2004-03-10 2011-08-17 ルノー・エス・アー・エス Method for demonstrating embedded systems
US7392509B2 (en) * 2004-04-13 2008-06-24 University Of Maryland Method for domain specific test design automation
GB0410047D0 (en) * 2004-05-05 2004-06-09 Silverdata Ltd An analytical software design system
US20050289517A1 (en) * 2004-06-24 2005-12-29 International Business Machines Corporation System and methods for client and template validation
US20060010348A1 (en) * 2004-07-09 2006-01-12 Bylund Stefan E Method and apparatus for capture and formalization of system requirements and their transformation to test instructions
US8615738B2 (en) * 2004-07-16 2013-12-24 International Business Machines Corporation System and method for software product test modularization
DE102004041827A1 (en) * 2004-08-27 2006-03-02 Robert Bosch Gmbh Functional unit for executing test cases in system under test coupled to unit under test, for development of motor vehicle control devices, by inserting between logical test cases and test system
DE102004041822A1 (en) * 2004-08-27 2006-03-02 Robert Bosch Gmbh Function unit for carrying out logical test cases on a test system coupled to a unit to be tested and corresponding method
US20060129995A1 (en) * 2004-11-30 2006-06-15 Deboe Benjamin L Apparatus and method for observing runtime behavior of an application program
US20060200824A1 (en) * 2005-03-04 2006-09-07 Microsoft Corporation Method for automatically associating contexts with a computing job
CN100349132C (en) * 2005-06-21 2007-11-14 华为技术有限公司 Function coverage ratio analysis method for logic test
US20070028217A1 (en) * 2005-07-29 2007-02-01 Microsoft Corporation Testing software using verification data defined independently of the testing code
WO2007028226A1 (en) * 2005-09-09 2007-03-15 Ibm Canada Limited - Ibm Canada Limitee Method and system for state machine translation
US7730452B1 (en) * 2005-11-01 2010-06-01 Hewlett-Packard Development Company, L.P. Testing a component of a distributed system
TW200719140A (en) * 2005-11-04 2007-05-16 Hon Hai Prec Ind Co Ltd Automatic testing system and method
JP4516001B2 (en) * 2005-11-14 2010-08-04 富士通株式会社 Software test management program, software test management apparatus, and software test management method
US8209667B2 (en) * 2006-01-11 2012-06-26 International Business Machines Corporation Software verification using hybrid explicit and symbolic model checking
US8510596B1 (en) 2006-02-09 2013-08-13 Virsec Systems, Inc. System and methods for run time detection and correction of memory corruption
US7873944B2 (en) * 2006-02-22 2011-01-18 International Business Machines Corporation System and method for maintaining and testing a software application
WO2007098805A1 (en) 2006-02-28 2007-09-07 Mentor Graphics Corp. Monitoring physical parameters in an emulation environment
US7895565B1 (en) 2006-03-15 2011-02-22 Jp Morgan Chase Bank, N.A. Integrated system and method for validating the functionality and performance of software applications
US7757121B1 (en) * 2006-04-21 2010-07-13 Cydone Solutions Inc. Requirement driven interoperability/compliance testing systems and methods
US7904278B2 (en) * 2006-05-02 2011-03-08 The Johns Hopkins University Methods and system for program execution integrity measurement
KR100758850B1 (en) * 2006-08-09 2007-09-14 삼성전자주식회사 Appaturus and method for test using test script in mobile communication system
US8516445B2 (en) * 2006-08-23 2013-08-20 International Business Machines Corporation Multi-dimension code coverage
US8688682B2 (en) * 2007-03-23 2014-04-01 International Business Machines Corporation Query expression evaluation using sample based projected selectivity
US8065662B1 (en) * 2007-03-30 2011-11-22 Oracle America, Inc. Compatibility testing of an application programming interface
US7926036B2 (en) * 2007-04-26 2011-04-12 Microsoft Corporation Technologies for code failure proneness estimation
US8453115B2 (en) * 2007-04-27 2013-05-28 Red Hat, Inc. Automatic data manipulation to influence code paths
US8001486B2 (en) * 2007-05-29 2011-08-16 Interra Systems, Inc Method for verification of file-based media content
US7725448B2 (en) * 2007-08-31 2010-05-25 International Business Machines Corporation Method and system for disjunctive single index access
US7983893B2 (en) 2008-01-08 2011-07-19 Mentor Graphics Corporation Fault support in an emulation environment
US8214195B2 (en) * 2008-03-21 2012-07-03 Mentor Graphics Corporation Testing in a hardware emulation environment
US20090248390A1 (en) * 2008-03-31 2009-10-01 Eric Durand Trace debugging in a hardware emulation environment
WO2009150788A1 (en) * 2008-06-10 2009-12-17 パナソニック株式会社 Api evaluation system in embedded device
JP2010002370A (en) * 2008-06-23 2010-01-07 Fujitsu Ltd Pattern extraction program, technique, and apparatus
EP2321751A4 (en) * 2008-07-07 2014-03-05 Quali Systems Ltd System and method for automatic hardware and software sequencing of computer-aided design (cad) functionality testing
US8261243B2 (en) * 2008-08-12 2012-09-04 International Business Machines Corporation Selective execution of trace mechanisms for applications having different bit structures
US8359576B2 (en) * 2008-11-14 2013-01-22 Fujitsu Limited Using symbolic execution to check global temporal requirements in an application
US8434069B2 (en) * 2008-12-16 2013-04-30 Oracle International Corporation System and method for effort estimation
US8239406B2 (en) * 2008-12-31 2012-08-07 International Business Machines Corporation Expression tree data structure for representing a database query
US9575878B2 (en) * 2009-03-16 2017-02-21 International Business Machines Corporation Data-driven testing without data configuration
US8739125B2 (en) * 2009-06-16 2014-05-27 Red Hat, Inc. Automated and unattended process for testing software applications
US8595697B2 (en) * 2009-07-01 2013-11-26 International Business Machines Corporation Serializing a templated markup language representation of test artifacts
US9874870B2 (en) * 2009-08-26 2018-01-23 Fisher-Rosemount Systems, Inc. Methods and apparatus to manage testing of a process control system
US8495580B2 (en) 2010-04-07 2013-07-23 International Business Machines Corporation Facilitating use of model transformations
US20110271253A1 (en) * 2010-04-28 2011-11-03 International Business Machines Corporation Enhancing functional tests coverage using traceability and static analysis
KR101132560B1 (en) * 2010-06-09 2012-04-03 강원대학교산학협력단 System and method for automatic interface testing based on simulation for robot software components
KR101039456B1 (en) * 2010-07-28 2011-06-07 한국전력공사 Apparatus and method for conformance testing of client in substation automation system
KR20120019941A (en) * 2010-08-27 2012-03-07 삼성전자주식회사 Dynamic instrumentation method and appauatus thereof
US9715483B2 (en) 2010-09-16 2017-07-25 International Business Machines Corporation User interface for testing and asserting UI elements with natural language instructions
US9239777B1 (en) 2011-05-08 2016-01-19 Panaya Ltd. Generating test scenario templates from clusters of test steps utilized by different organizations
US9092579B1 (en) 2011-05-08 2015-07-28 Panaya Ltd. Rating popularity of clusters of runs of test scenarios based on number of different organizations
US9104811B1 (en) 2011-05-08 2015-08-11 Panaya Ltd. Utilizing testing data collected from different organizations to generate test scenario templates that suit a user profile
US9069904B1 (en) 2011-05-08 2015-06-30 Panaya Ltd. Ranking runs of test scenarios based on number of different organizations executing a transaction
US9311224B1 (en) 2011-05-08 2016-04-12 Panaya Ltd. Manipulating a test based on a subset of similar divergent routes from different organizations
US9317404B1 (en) 2011-05-08 2016-04-19 Panaya Ltd. Generating test scenario templates from test runs collected from different organizations
US9348735B1 (en) 2011-05-08 2016-05-24 Panaya Ltd. Selecting transactions based on similarity of profiles of users belonging to different organizations
US9201773B1 (en) 2011-05-08 2015-12-01 Panaya Ltd. Generating test scenario templates based on similarity of setup files
US9235412B1 (en) 2011-05-08 2016-01-12 Panaya Ltd. Identifying dependencies between configuration elements and transactions
US9170809B1 (en) 2011-05-08 2015-10-27 Panaya Ltd. Identifying transactions likely to be impacted by a configuration change
US9104815B1 (en) 2011-05-08 2015-08-11 Panaya Ltd. Ranking runs of test scenarios based on unessential executed test steps
US9201772B1 (en) 2011-05-08 2015-12-01 Panaya Ltd. Sharing test scenarios among organizations while protecting proprietary data
US9170926B1 (en) 2011-05-08 2015-10-27 Panaya Ltd. Generating a configuration test based on configuration tests of other organizations
US9201776B1 (en) 2011-05-08 2015-12-01 Panaya Ltd. Updating a test scenario template according to divergent routes
US9134961B1 (en) 2011-05-08 2015-09-15 Panaya Ltd. Selecting a test based on connections between clusters of configuration changes and clusters of test scenario runs
US9170925B1 (en) 2011-05-08 2015-10-27 Panaya Ltd. Generating test scenario templates from subsets of test steps utilized by different organizations
US9032360B1 (en) 2011-05-08 2015-05-12 Panaya Ltd. Selecting a test scenario template based on similarity of testing profiles belonging to different organizations
US9201775B1 (en) 2011-05-08 2015-12-01 Panaya Ltd. Manipulating a test scenario template based on divergent routes found in test runs from different organizations
US9201774B1 (en) 2011-05-08 2015-12-01 Panaya Ltd. Generating test scenario templates from testing data of different organizations utilizing similar ERP modules
US9317412B1 (en) 2011-05-08 2016-04-19 Panaya Ltd. Selecting a configuration test based on testing data from different organizations
US8752027B2 (en) * 2011-09-14 2014-06-10 Microsoft Corporation Injecting faults into program for testing software
US9038026B2 (en) * 2011-10-17 2015-05-19 International Business Machines Corporation System and method for automating test automation
US9103874B2 (en) 2012-01-09 2015-08-11 International Business Machines Corporation Concurrent test instrumentation
US8799720B2 (en) 2012-02-28 2014-08-05 International Business Machines Corporation Semi-automatic conversion and execution of functional manual tests
US8930759B2 (en) * 2012-04-02 2015-01-06 International Business Machines Corporation Stream generation
US8850406B1 (en) * 2012-04-05 2014-09-30 Google Inc. Detecting anomalous application access to contact information
US9507698B2 (en) * 2012-06-06 2016-11-29 Oracle International Corporation Test code generation based on test documentation
CN102968376B (en) * 2012-12-10 2015-01-21 北京神舟航天软件技术有限公司 System window phase sliding test method based on overall execution path process
US8762948B1 (en) * 2012-12-20 2014-06-24 Kaspersky Lab Zao System and method for establishing rules for filtering insignificant events for analysis of software program
US9098634B2 (en) * 2013-05-13 2015-08-04 Hewlett-Packard Development Company, L.P. Creating test templates based on steps in existing tests
CN103346928A (en) * 2013-07-02 2013-10-09 北京邮电大学 Method for supporting breakpoint continuous test of Peach platform
AU2014318585B2 (en) 2013-09-12 2018-01-04 Virsec Systems, Inc. Automated runtime detection of malware
WO2015200511A1 (en) * 2014-06-24 2015-12-30 Virsec Systems, Inc. System and methods for automated detection of input and output validation and resource management vulnerability
US10114726B2 (en) 2014-06-24 2018-10-30 Virsec Systems, Inc. Automated root cause analysis of single or N-tiered application
US9658938B2 (en) * 2015-03-30 2017-05-23 Fujtsu Limited Iterative test generation based on data source analysis
US9501389B1 (en) * 2015-08-20 2016-11-22 International Business Machines Corporation Test machine management
US10102112B2 (en) * 2015-12-07 2018-10-16 Wipro Limited Method and system for generating test strategy for a software application
WO2017218872A1 (en) 2016-06-16 2017-12-21 Virsec Systems, Inc. Systems and methods for remediating memory corruption in a computer application
US10395751B2 (en) * 2016-06-28 2019-08-27 SK Hynix Inc. Automated testing system and operating method thereof
JP6571897B2 (en) * 2017-02-16 2019-09-04 三菱電機株式会社 Operation verification apparatus, operation verification method, and operation verification program
US10204034B2 (en) * 2017-04-06 2019-02-12 At&T Intellectual Property I, L.P. System and method for testing software applications in a software defined network
US10409711B2 (en) * 2017-06-12 2019-09-10 International Business Machines Corporation Automatically running tests against WEB APIs based on specifications
US10733074B1 (en) * 2018-01-30 2020-08-04 Amazon Technologies, Inc. Deductive verification for programs using functional programming features
CN109614320A (en) * 2018-11-16 2019-04-12 福建天泉教育科技有限公司 A kind of method and terminal detecting code interface accuracy
CN112783774A (en) * 2021-01-25 2021-05-11 东风电子科技股份有限公司 Script file generation system for realizing automatic test and test control method thereof
CN113742220B (en) * 2021-08-12 2024-03-15 重庆长安汽车股份有限公司 Simulation test method in forward development process of limited automatic driving system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0286361A2 (en) * 1987-04-08 1988-10-12 Westinghouse Electric Corporation Method of verifying computer software
EP0834810A1 (en) * 1996-09-19 1998-04-08 Sun Microsystems, Inc. Automatic generation of test drivers
US5781720A (en) * 1992-11-19 1998-07-14 Segue Software, Inc. Automated GUI interface testing

Family Cites Families (34)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4937765A (en) 1988-07-29 1990-06-26 Mentor Graphics Corporation Method and apparatus for estimating fault coverage
US5048018A (en) 1989-06-29 1991-09-10 International Business Machines Corporation Debugging parallel programs by serialization
US5390131A (en) 1992-04-06 1995-02-14 Hewlett-Packard Company Apparatus and method for displaying wafer test results in real time
US5557776A (en) 1992-05-18 1996-09-17 International Business Machines Corporation Apparatus which allows data sharing amongst computer program from different program environments
US5394347A (en) * 1993-07-29 1995-02-28 Digital Equipment Corporation Method and apparatus for generating tests for structures expressed as extended finite state machines
US5604895A (en) * 1994-02-22 1997-02-18 Motorola Inc. Method and apparatus for inserting computer code into a high level language (HLL) software model of an electrical circuit to monitor test coverage of the software model when exposed to test inputs
US5860009A (en) 1994-04-28 1999-01-12 Kabushiki Kaisha Toshiba Programming method for concurrent programs and program supporting apparatus thereof
US5737609A (en) 1994-10-18 1998-04-07 Marcam Corporation Method and apparatus for testing object-oriented programming constructs
US5684946A (en) 1995-09-11 1997-11-04 Digital Equipment Corporation Apparatus and method for improving the efficiency and quality of functional verification
US5758061A (en) * 1995-12-15 1998-05-26 Plum; Thomas S. Computer software testing method and apparatus
US5805795A (en) 1996-01-05 1998-09-08 Sun Microsystems, Inc. Method and computer program product for generating a computer program product test that includes an optimized set of computer program product test cases, and method for selecting same
US5784553A (en) 1996-01-16 1998-07-21 Parasoft Corporation Method and system for generating a computer program test suite using dynamic symbolic execution of JAVA programs
US5860004A (en) 1996-07-03 1999-01-12 Sun Microsystems, Inc. Code generator for applications in distributed object systems
US5987239A (en) * 1996-12-13 1999-11-16 Lsi Logic Corporation Computer system and method for building a hardware description language representation of control logic for a complex digital system
US6146026A (en) * 1996-12-27 2000-11-14 Canon Kabushiki Kaisha System and apparatus for selectively publishing electronic-mail
US6058266A (en) 1997-06-24 2000-05-02 International Business Machines Corporation Method of, system for, and computer program product for performing weighted loop fusion by an optimizing compiler
US5913023A (en) 1997-06-30 1999-06-15 Siemens Corporate Research, Inc. Method for automated generation of tests for software
US6249526B1 (en) 1997-06-30 2001-06-19 Intel Corporation Versatile time division multiple access slot assignment unit
US6425118B1 (en) 1997-07-18 2002-07-23 Compaq Computer Corporation System for automatically generating tests to ensure binary compatibility between software components produced by a source-to-source computer language translator
US6286130B1 (en) 1997-08-05 2001-09-04 Intel Corporation Software implemented method for automatically validating the correctness of parallel computer programs
US6093215A (en) * 1997-08-12 2000-07-25 International Business Machines Corporation Method and apparatus for building templates in a component system
US6321376B1 (en) 1997-10-27 2001-11-20 Ftl Systems, Inc. Apparatus and method for semi-automated generation and application of language conformity tests
JPH11134197A (en) * 1997-10-29 1999-05-21 Fujitsu Ltd Device and method for compilation for vliw system computer and storage medium stored with compilation executing program
US5974569A (en) * 1998-01-05 1999-10-26 Nickles; Alfred E. System and method for determining whether time-based operations of a computer system operate properly
US6212667B1 (en) * 1998-07-30 2001-04-03 International Business Machines Corporation Integrated circuit test coverage evaluation and adjustment mechanism and method
US6463582B1 (en) 1998-10-21 2002-10-08 Fujitsu Limited Dynamic optimizing object code translator for architecture emulation and dynamic optimizing object code translation method
US6453292B2 (en) * 1998-10-28 2002-09-17 International Business Machines Corporation Command boundary identifier for conversational natural language
US6301688B1 (en) * 1998-11-24 2001-10-09 Agere Systems Optoelectronics Guardian Corp. Insertion of test points in RTL designs
US6401230B1 (en) 1998-12-04 2002-06-04 Altera Corporation Method of generating customized megafunctions
US6408299B1 (en) 1999-01-28 2002-06-18 International Business Machines Corporation Type convertor registry
US6510402B1 (en) * 1999-02-04 2003-01-21 International Business Machines Corporation Component testing with a client system in an integrated test environment network
US6499114B1 (en) * 1999-02-17 2002-12-24 General Electric Company Remote diagnostic system and method collecting sensor data according to two storage techniques
US6381604B1 (en) * 1999-07-30 2002-04-30 Cisco Technology, Inc. Test information management system
US6434500B1 (en) 1999-10-18 2002-08-13 Rosemount Inc. Interface for managing test definitions

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0286361A2 (en) * 1987-04-08 1988-10-12 Westinghouse Electric Corporation Method of verifying computer software
US5781720A (en) * 1992-11-19 1998-07-14 Segue Software, Inc. Automated GUI interface testing
EP0834810A1 (en) * 1996-09-19 1998-04-08 Sun Microsystems, Inc. Automatic generation of test drivers

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100511176C (en) * 2004-01-13 2009-07-08 交响乐服务公司 Method and system for rule-based generation of automation test scripts from abstract test case representation

Also Published As

Publication number Publication date
US6697961B1 (en) 2004-02-24
CA2319725A1 (en) 2001-03-17
EP1085418A3 (en) 2002-12-11
EP1085419A2 (en) 2001-03-21
US6698012B1 (en) 2004-02-24
CA2319721A1 (en) 2001-03-17
EP1089172A2 (en) 2001-04-04
CA2319719A1 (en) 2001-03-17
EP1085417A3 (en) 2002-11-27
EP1085419A3 (en) 2002-12-04
CA2319718A1 (en) 2001-03-17
US6898784B1 (en) 2005-05-24
EP1085418A2 (en) 2001-03-21
EP1089172A3 (en) 2003-10-29
EP1085417A2 (en) 2001-03-21

Similar Documents

Publication Publication Date Title
US6698012B1 (en) Method and system for testing behavior of procedures
Babic et al. Calysto: scalable and precise extended static checking
US6385765B1 (en) Specification and verification for concurrent systems with graphical and textual editors
Burdonov et al. Kvest: Automated generation of test suites from formal specifications
US20030046029A1 (en) Method for merging white box and black box testing
Alexander et al. Criteria for testing polymorphic relationships
Sanches et al. J-swfit: A java software fault injection tool
Baudin et al. WP plug-in manual
Engels et al. Model-based verification and validation of properties
WO2005043278A2 (en) System and method for verifying and testing system requirements
Naslavsky et al. Towards traceability of model-based testing artifacts
Singh et al. Learning component interfaces with may and must abstractions
EP0594888A1 (en) Method and apparatus for computer software testing
Ratiu et al. An integrated environment for Spin-based C code checking: Towards bringing model-driven code checking closer to practitioners
Li et al. Testing erlang refactorings with QuickCheck
Rask et al. Advanced VDM Support in Visual Studio Code
Şavga et al. Practical refactoring-based framework upgrade
Micskei et al. Robustness testing techniques for high availability middleware solutions
Benz AspectT: aspect-oriented test case instantiation
Ratiu et al. Increasing usability of spin-based C code verification using a harness definition language: Leveraging model-driven code checking to practitioners
Lindig Find a compiler bug in 5 minutes
Ratiu et al. Increasing usability of Spin-based C code verification using a harness definition language
Edwards et al. AFID: an automated approach to collecting software faults
Giese et al. Integrating Verification in a Design Process for Distributed Production Control Systems
Hartung et al. Automated testing for knowledge based systems

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 09663194

Country of ref document: US

Ref document number: 09663568

Country of ref document: US

Ref document number: 09663726

Country of ref document: US

Ref document number: 09662659

Country of ref document: US

AK Designated states

Kind code of ref document: A1

Designated state(s): CA RU US

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE

121 Ep: the epo has been informed by wipo that ep was designated in this application
122 Ep: pct application non-entry in european phase