cancel
Showing results for 
Search instead for 
Did you mean: 

own spring bean in activiti unit-tests

akakunin
Champ in-the-making
Champ in-the-making
Hi!
I'm trying to investigate some problems I've met with activiti and best way to do it - via unit-tests - better inside activiti engine project - so, by this way it will be easy to separate all my own environment and code - what may affect problem, as well as easy to demonstrate problem for activiti developers.

It is clear how to write unit-test deployed some specific process definition, but - how to add some custom spring bean into context used during test execution?
I tried to find any sample in activiti-engine code - but wasn't able
2 REPLIES 2

akakunin
Champ in-the-making
Champ in-the-making
I was found what I need in activiti-spring project Smiley Happy

jbarrez
Star Contributor
Star Contributor
I love it when questions are answered by the poster themselves 🙂