How Can I link Change Set with Test Case
Change Set is Created .
As a developer he wants the Change Set to be Tested By Test Case , so that he knows that for codes he Changed a TestCase is available and which can be linked to the Change Set .
He is expecting that a Direct Link from Change Set be available so that he can either Search & Select the Test Case or Can Create a New Test Case and to be associated with the Change Set .
I know that some one may suggest that Link the Work Item with Test Case . I am not asking that .
A single workitem can have multiple Change Set . What I am asking select any of the Change Set in that WorkItem and associate/link with TestCase .
I request your help in this context on -- How to do it .
Thanks in Advance
PKC
Prasanta Kumar Chaudhuri
As a developer he wants the Change Set to be Tested By Test Case , so that he knows that for codes he Changed a TestCase is available and which can be linked to the Change Set .
He is expecting that a Direct Link from Change Set be available so that he can either Search & Select the Test Case or Can Create a New Test Case and to be associated with the Change Set .
I know that some one may suggest that Link the Work Item with Test Case . I am not asking that .
A single workitem can have multiple Change Set . What I am asking select any of the Change Set in that WorkItem and associate/link with TestCase .
I request your help in this context on -- How to do it .
Thanks in Advance
PKC
Prasanta Kumar Chaudhuri
2 answers
A work item defines the scope for a testable unit of work, not a change set. There are many times when you need to create multiple change sets for a single testable unit of work (e.g., the change modifies several components, or you discover a bug in the first change set and a second change set is required to fix the bug before the test will succeed). That is why linking a test case to a work item is supported, while linking a test case to a single change set is not. If you have two separately testable change sets, they should be linked to two separate work items.
For all I know this is not supported. You basically test a build and not a change set. A change set is just the difference between sole files in a component and will in most cases not do anything.
So what is done is to test against a build (represented by a build result or a milestone number).
A defect can be created for the build result. Assuming the build is a public build, it would contain the change set in the snapshot. The work item would allow to link the build result, the test case result (and the test case in that context) and the change set(s) that went into the build compared to the one before.
So what is done is to test against a build (represented by a build result or a milestone number).
A defect can be created for the build result. Assuming the build is a public build, it would contain the change set in the snapshot. The work item would allow to link the build result, the test case result (and the test case in that context) and the change set(s) that went into the build compared to the one before.
Comments
Hello Ralph,
Thanks for your inputs.
Since we want to do Code driven Testing , this Use Case very much important .
Our Idea is that -- If each Change Set is linked to TestCase and in that case it will indicate whether portion of code is tested or not .
I think , it can be treated as Enhancement .
Thanks
PKC
Prasanta Kumar Chaushuri