Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

[EWM Java API] - Junit for BuildOnStateChange plugin

Hi,

I followed the EWM extensions workshop (https://jazz.net/library/article/1000) in order to develop a plugin that automatically set the owner of a workItem when created. Everything is working fine, I tested it on a Jetty debug server then on a local instance whithout any issue.
I would like now to develop some Junit tests in order to cover my code, but I can't figure out how to do this and I can't find any test in any Work Item Save Participant example I could find on internet.
Does someone has any Junit example that could help me mocking EWM API objects ?

Thanks

0 votes


Be the first one to answer this question!

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 411

Question asked: Mar 15, 8:48 a.m.

Question was seen: 398 times

Last updated: Mar 15, 8:48 a.m.

Confirmation Cancel Confirm