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

How can we execute JUnit tests before code deliver to Stream in RTC?

Hi Experts,

My client asks me to execute JUnits (or simply Unit tests) tests before code deliver to Stream. If the tests passed, then only a developer can deliver the code otherwise not. Can we implement it like the way we do Pre-Conditions in RTC?

any help/ideas would be much appreciated!

Thanks
- Javaria

0 votes

Comments

Note: One "checks in" to a workspace, but "delivers" to a stream.   To avoid confusion, I've updated the question title and text to use "deliver" instead of "check in".


Accepted answer

Permanent link
Hi,

you can use a native precondition, 'Require JUnit test run', associated with the action Deliver (client). Check this link:

https://jazz.net/help-dev/clm/index.jsp?re=1&topic=/com.ibm.team.scm.doc/topics/t_scm_eclipse_process_preconditions.html&scope=null
Javaria Hameed selected this answer as the correct answer

0 votes

Comments

Thanks Tiago for your quick response.

thanks
- Javaria

Your answer

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
× 12,019
× 1,202
× 562
× 12

Question asked: May 10 '16, 12:39 p.m.

Question was seen: 3,160 times

Last updated: Jun 17 '16, 1:20 p.m.

Confirmation Cancel Confirm