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

Unit test development management best practices

Given:
The development team has people doing the (business-/function-) coding and other people doing UnitTest-coding. For one function it is expected to have more than one unit test. The number of unit test is an effort driver, so effort for unit test coding should be planned and tracked.

Question:
Are there any best practices how to manage this in RTC?

Alternatives:
a) Set up two (execution-level) work items per chunk of work: one for the functional code developer and another one for the unittest-code developer

b) Have only one work item and appropriate states.

c) Have only one work item and use the "Approvals" feature. Make the Unit Test an "approval" for the coding.

Your advice is appreciated.

0 votes



One answer

Permanent link
I'd suggest (a).
I would only use (b) if the same individual is doing both the
function-coding and the test-coding (which is not the case in your example).
I would only use (c) if the amount of effort needed to write the test
case is so small that it doesn't merit being planned (which is not the
case in your example).

Cheers,
Geoff


tgau wrote:
Given:
The development team has people doing the (business-/function-) coding
and other people doing UnitTest-coding. For one function it is
expected to have more than one unit test. The number of unit test is
an effort driver, so effort for unit test coding should be planned
and tracked.

Question:
Are there any best practices how to manage this in RTC?

Alternatives:
a) Set up two (execution-level) work items per chunk of work: one for
the functional code developer and another one for the unittest-code
developer

b) Have only one work item and appropriate states.

c) Have only one work item and use the "Approvals" feature.
Make the Unit Test an "approval" for the coding.

Your advice is appreciated.

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: Jan 14 '10, 4:26 p.m.

Question was seen: 5,335 times

Last updated: Jan 14 '10, 4:26 p.m.

Confirmation Cancel Confirm