Successful test pre-condition
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:
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