How can we execute JUnit tests before code deliver to Stream in RTC?
Javaria Hameed (40●38●47)
| asked May 10 '16, 12:39 p.m.
edited Jun 17 '16, 1:20 p.m. by David Lafreniere (4.8k●7)
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 |
Accepted answer
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
|
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.
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".