IP Library Granted Patent US 8,918,762
Granted Patent B2
US 8,918,762 · App. 13/667,104 · Granted Dec 23, 2014

Generating test plans and test cases from service-oriented architecture and process models

Inventors: Claus T. Jensen (Pawling, NY); Tapas K. Som (Germantown, MD)
Assignee: International Business Machines Corporation
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,918,762
App. No.
13/667,104
Granted
Dec 23, 2014
Kind
B2
Abstract

Testing a system under test (SUT) having a service-oriented architecture includes generating a first test plan for an inbound interface for each service model, generating a second test plan for an outbound interface of each service model, and generating a third test plan for information consumed by the service models using a processor. Testing the system further includes generating a fourth test plan for a process model, wherein the process model utilizes the service models, generating a fifth test plan that maps service models and the process model to executables of the system, and concatenating the first, second, third, fourth, and fifth test plans into a complete test plan for the SUT using the processor.

Claims (67)

1. A method of testing a system under test (SUT) having a service-oriented architecture, the method comprising:

generating a first test plan for an inbound interface for each of a plurality of service models, each of the plurality of service models implemented by a respective service executed in the SUT;

generating a second test plan for an outbound interface of each of the plurality of service models;

generating a third test plan for information consumed by each of the plurality of service models using a processor;

generating a fourth test plan for a process model, wherein the process model utilizes each of the plurality of service models;

generating a fifth test plan that maps each of the plurality of service models and the process model to executables of the SUT; and

concatenating the first, second, third, fourth, and fifth test plans into a complete test plan for the SUT using the processor.

2. The method of claim 1 , further comprising:

for a change to the SUT, determining a scope of regression testing needed for testing the change to the SUT, wherein the scope of the regression testing specifies each model, selected from a group consisting of the plurality of service models and the process model, that is to be tested by the regression testing.

3. The method of claim 2 , wherein determining a scope of regression testing comprises:

determining each model, selected from the group consisting of the plurality of service models and the process model, that is dependent upon the change to the SUT; and

adding each dependent model to the scope of the regression testing.

4. The method of claim 3 , further comprising:

determining each of a plurality of executables corresponding to the dependent models added to the scope of the regression testing.

5. The method of claim 4 , further comprising:

adding each of the plurality of determined executables to the scope of the regression testing.

6. The method of claim 2 , further comprising:

generating a test case for the each model specified by the scope of the regression testing;

determining a test case input for each generated test case; and

determining an expected test result for each test case input.

7. The method of claim 6 , further comprising:

generating test cases for executables associated with the each model specified by the scope of the regression testing.

8. A system for testing a system under test (SUT) having a service-oriented architecture, the system comprising:

a processor configured to initiate executable operations comprising:

generating a first test plan for an inbound interface for each of the plurality of service models;

generating a second test plan for an outbound interface of each service model;

generating a third test plan for information consumed by each of the plurality of service models;

generating a fourth test plan for a process model, wherein the process model utilizes each of the plurality of service models;

generating a fifth test plan that maps each of the plurality of service models and the process model to executables of the SUT; and

concatenating the first, second, third, fourth, and fifth test plans into a complete test plan for the SUT using the processor.

9. The system of claim 8 , further comprising:

for a change to the SUT, determining a scope of regression testing needed for testing the change to the SUT, wherein the scope of the regression testing specifies each model, selected from a group consisting of the plurality of service models and the process model, that is to be tested by the regression testing.

10. The system of claim 9 , wherein determining a scope of regression testing comprises:

determining each model selected from the group consisting of the plurality of service models and the process model, that is dependent upon the change to the SUT; and

adding each dependent model to the scope of the regression testing.

11. The system of claim 10 , wherein the processor is further configured to initiate an executable operation comprising:

determining each of a plurality of executables corresponding to the dependent models added to the scope of the regression testing.

12. The system of claim 11 , wherein the processor is further configured to initiate an executable operation comprising:

adding each of the plurality of determined executable to the scope of the regression testing.

13. The system of claim 9 , wherein the processor is further configured to initiate executable operations comprising:

generating a test case for the each model specified by the scope of the regression testing;

determining a test case input for each generated test case; and

determining an expected test result for each test case input.

14. The system of claim 13 , wherein the processor is further configured to initiate an executable operation comprising:

generating test cases for executables associated with the each model specified by the scope of the regression testing.

15. A computer program product for testing a system under test (SUT) having a service-oriented architecture, the computer program product comprising:

a computer readable storage medium having program code embodied therewith, the program code executable by a computer to perform executable operations comprising:

generating, using a processor, a first test plan for an inbound interface for each of a plurality of service models, each of the plurality of service models implemented by a respective service executed in the SUT;

generating a second test plan for an outbound interface of each of the plurality of service models;

generating a third test plan for information consumed by each of the plurality of service models using a processor;

generating a fourth test plan for a process model, wherein the process model utilizes each of the plurality of service models;

generating a fifth test plan that maps each of the plurality of service models and the process model to executables of the SUT; and

concatenating the first, second, third, fourth, and fifth test plans into a complete test plan for the SUT using the processor.

16. The computer program product of claim 15 , wherein the computer readable storage medium has further program code embodied therewith, the further program code executable by a computer to perform executable operations comprising:

for a change to the SUT, determining a scope of regression testing needed for testing the change to the SUT, wherein the scope of the regression testing specifies each model, selected from a group consisting of the plurality of service models and the process model, that is to be tested by the regression testing.

17. The computer program product of claim 16 , wherein determining a scope of regression testing comprises:

determining each model, selected from the group consisting of the plurality of service models and the process model, that is dependent upon the change to the SUT; and

adding each dependent model to the scope of the regression testing.

18. The computer program product of claim 17 , wherein the computer readable storage medium has further program code embodied therewith, the further program code executable by a computer to perform executable operations comprising:

determining each of a plurality of executables corresponding to the dependent models added to the scope of the regression testing; and

adding each of the plurality of determined executables to the scope of the regression testing.

19. The computer program product of claim 16 , wherein the computer readable storage medium has further program code embodied therewith, the further program code executable by a computer to perform executable operations comprising:

generating a test case for the each model specified by the scope of the regression testing;

determining a test case input for each generated test case; and

determining an expected test result for each test case input.

20. The computer program product of claim 19 , wherein the computer readable storage medium has further program code embodied therewith, the further program code executable by a computer to perform executable operations comprising:

generating test cases for executables associated with the each model specified by the scope of the regression testing.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 2, 2012
From: JENSEN, CLAUS T.; SOM, TAPAS K.
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 029231/0168 →
Continuity (1)
Related Publication 20140130014A1 · May 8, 2014