It's all about the answers!

Ask a question

Successful test pre-condition


Roman Smirak (3164933) | asked Feb 13 '08, 7:08 a.m.
Hi,

is there ready-made pre-condition ensuring team member delivers only if
he/she writes a test & it passes?

Regards,

Roman

One answer



permanent link
Kai-Uwe Maetzel (85611) | answered Feb 13 '08, 1:58 p.m.
JAZZ DEVELOPER
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,

is there ready-made pre-condition ensuring team member delivers only if
he/she writes a test & it passes?

Regards,

Roman

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.