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

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

0 votes



One answer

Permanent link
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

0 votes

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

Question asked: Feb 13 '08, 7:08 a.m.

Question was seen: 3,916 times

Last updated: Feb 13 '08, 7:08 a.m.

Confirmation Cancel Confirm