Integration testing of Activiti Services with Spring

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2016 06:35 AM
Hi All,
I'm trying to write integration test for my Activiti workflow integrated/embedded(java based configuration) with Spring application using postgres database.
Activiti services (runtimeService, taskService..etc) are auto-wired into spring component and calling from business layer.
I'm using @Rule ActivitiRule for engine in junit, when i try to run junit its failing to load the ApplicationContext saying unsatisfied dependency (for activiti services).
Can you please suggest me the solution.
Thanks in advance.
I'm trying to write integration test for my Activiti workflow integrated/embedded(java based configuration) with Spring application using postgres database.
Activiti services (runtimeService, taskService..etc) are auto-wired into spring component and calling from business layer.
I'm using @Rule ActivitiRule for engine in junit, when i try to run junit its failing to load the ApplicationContext saying unsatisfied dependency (for activiti services).
Can you please suggest me the solution.
Thanks in advance.
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2016 04:21 AM
Please post the complete exception and your configuration.
Regards,
Ciju
Regards,
Ciju
