Conformance execution of non-deterministic specifications for components
First Claim
1. A method of conformance-testing a software implementation with a software specification, the method comprising:
- applying the software implementation and the software specification to produce a CT enabled implementation wherein nondeterministic choices of the software specification result in assigning a corresponding choice of the CT enabled implementation to a variable; and
the CT enabled implementation comprising a test that the variable comprises one of the nondeterministic choices of the software specification.
2 Assignments
0 Petitions
Accused Products
Abstract
To perform conformance checking of a software implementation with a (possibly non-deterministic) specification, a software implementation and a software specification are applied to produce a CT enabled implementation. Nondeterministic choices of the software specification result in assigning a corresponding choice of the CT enabled implementation to a variable. The CT enabled implementation includes a test that the variable then comprises one of the nondeterministic choices of the software specification.
To perform conformance testing where the software specification includes ordered steps, and calls to methods of other classes (mandatory calls), a software object is produced and organized such that each step of the software specification has a corresponding code section in the software object. The software object includes instructions to generate an identification of a mandatory call comprised by the software specification, and instructions to test that the state of the implementation conforms to the software specification during the mandatory call.
-
Citations
32 Claims
-
1. A method of conformance-testing a software implementation with a software specification, the method comprising:
-
applying the software implementation and the software specification to produce a CT enabled implementation wherein nondeterministic choices of the software specification result in assigning a corresponding choice of the CT enabled implementation to a variable; and
the CT enabled implementation comprising a test that the variable comprises one of the nondeterministic choices of the software specification. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method of conformance-testing a software implementation with a software specification, the method comprising:
-
producing a software object organized such that each step of the software specification has a corresponding code section in the software object; and
the software object comprising at least one instruction which, when executed by a computer system, causes an identification of a mandatory call comprised by the software specification to be stored in a memory of the computer system. - View Dependent Claims (8, 9, 10, 11)
-
-
12. An article comprising:
a machine-readable medium comprising instructions to generate a CT enabled implementation of a software specification, the instructions, when executed by a computer system, resulting in;
applying a software implementation and the software specification to produce the CT enabled implementation wherein nondeterministic choices of the software specification result in assigning a corresponding choice of the CT enabled implementation to a variable; and
the CT enabled implementation comprising a test that the variable comprises one of the nondeterministic choices of the software specification. - View Dependent Claims (13, 14, 15, 16, 17)
-
18. An article comprising:
a machine-readable medium comprising instructions to generate a CT enabled implementation of a software specification, the instructions, when executed by a computer system, resulting in;
producing a software object organized such that each step of the software specification has a corresponding code section in the software object; and
the software object comprising at least one instruction which, when executed by a computer system, causes an identification of a mandatory call comprised by the software specification to be stored in a memory of the computer system. - View Dependent Claims (19, 20, 21, 22)
-
23. An apparatus comprising:
-
a processor; and
a machine-readable medium comprising instructions to generate a CT enabled implementation of a software specification, the instructions, when executed by the processor, resulting in;
applying a software implementation and the software specification to produce the CT enabled implementation wherein nondeterministic choices of the software specification result in assigning a corresponding choice of the CT enabled implementation to a variable; and
the CT enabled implementation comprising a test that the variable comprises one of the nondeterministic choices of the software specification. - View Dependent Claims (24, 25, 26, 27, 28)
-
-
29. An apparatus comprising:
-
a processor; and
a machine-readable medium comprising instructions to generate a CT enabled implementation of a software specification, the instructions, when executed by a computer system, resulting in;
producing a software object organized such that each step of the software specification has a corresponding code section in the software object;
the software object comprising at least one instruction which, when executed by a computer system, causes an identification of a mandatory call comprised by the software specification to be stored in a memory of the computer system; and
the software object comprising at least one instruction which, when executed by the computer system, causes a test that the state of the CT enabled implementation conforms to the software specification during the mandatory call. - View Dependent Claims (30, 31, 32)
-
Specification