Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
STP/IM Component/IM Builder Tests
This is a set of unit tests to verify the results yielded by the STP-IM Builder.
Contents
- 1 Test 1: Transforming a BPMN model into an STP-IM instance
- 2 Test 2: Creating a SCA model from an STP-IM instance
- 3 Test 3: Transforming and consolidating several BPMN models
- 4 Test 4: Keeping the Core Instance updated from models of several types
- 5 Test 5: Keeping the models updated from changes in the core instance ("Reverse Engineering")
Test 1: Transforming a BPMN model into an STP-IM instance
Steps to reproduce:
- Create a BPMN model with several activities.
- Transform into an STP-IM instance.
Expected result: The STP-IM instance is created, with the processes and steps contained in the BPMN model.
Test 2: Creating a SCA model from an STP-IM instance
Steps to reproduce:
- Create an STP-IM instance with processes, steps and services.
- Transform it into an SCA model.
Expected result: The SCA model is created, with the service entities contained in the STP-IM instance.
Test 3: Transforming and consolidating several BPMN models
Steps to reproduce:
- Create several BPMN models, portraying processes of the same business.
- Let the STP-IM Builder transform them and consolidate them in the core instance.
Expected result: The STP-IM Core Instance is created and contains the processes and each of its steps.
Test 4: Keeping the Core Instance updated from models of several types
Steps to reproduce:
- Create several BPMN models, portraying processes of the same business.
- Let the STP-IM Builder transform them and consolidate them in the core instance.
- Create an SCA model from the STP-IM.
- Make changes in the SCA model.
Expected result: The IM Core Instance should reflect the changes made in the SCA model.
Test 5: Keeping the models updated from changes in the core instance ("Reverse Engineering")
Steps to reproduce:
- Create several BPMN models, portraying processes of the same business.
- Let the STP-IM Builder transform them and consolidate them in the core instance.
- Create an SCA model from the STP-IM.
- Make changes in one of the BPMN models, e.g. one of the Activity names.
Expected result: The IM Core Instance should update the Activity names in the SCA model created in step 3.