It's all about the answers!

Ask a question

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


Javaria Hameed (403847) | asked May 10 '16, 12:39 p.m.
edited Jun 17 '16, 1:20 p.m. by David Lafreniere (4.8k7)
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

Comments
Geoffrey Clemm commented Jun 08 '16, 9:43 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

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
Tiago Moura (8387) | answered May 10 '16, 12:54 p.m.
edited May 10 '16, 12:55 p.m.
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

Comments
Javaria Hameed commented May 10 '16, 1:12 p.m. | edited May 10 '16, 1:31 p.m.

Thanks Tiago for your quick response.

thanks
- Javaria

Your answer


Register or 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.