Successful test pre-condition
Hi,
is there ready-made pre-condition ensuring team member delivers only if he/she writes a test & it passes? Regards, Roman |
One answer
There is a very early version of a precondition for the scm client
deliver operation available. It's called 'Require Test Run'. Here is the configuration snippet: <precondition id="com.ibm.team.process.deliver.requireTestRun" xmlns="http://com.ibm.team.process/requireTestRun" name="Only deliver with green tests"> <suite class="fully qualified class name of the JUnit test suite"/> </precondition> The precondition checks whether the specified test suite was run since any file in the local eclipse workspace changed and whether the test run was successful or not. Kai Jazz Process Component Team Roman Smirak wrote: Hi, |
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.