Versions when ghosting and/or linking to other test cases

LATEST Official version.
Questions and discussions - NO ISSUES
FOR ISSUES => http://mantis.testlink.org

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
Rab
Advanced user
Posts: 15
Joined: Tue Jan 08, 2013 6:58 pm

Versions when ghosting and/or linking to other test cases

Post by Rab »

Hello

I have read as much as I can in the manual, on the forums and on the mantis bug tracker (e.g. tickets 4796 & 5322) but have not been able to find an answer. I am trying to find a little more information about ghosting and test case linking, and in particular the versions linked to. I am using v1.9.5

I am just starting to build my database of test cases, so I am still learning. But so far I have found that linking better suit my needs than ghosting. The way I see it is a bit like OO programming where you can have little test cases and build them together into a test plan. So there will be lots of re-use.

When linking, I use javascript:openTCW('H-1',1) which specifies version 1 of my test case H-1. Now I understand the concept of test case versions, but I haven't used them yet. What happens when I have lots of test cases all linking to a common test case and I change that version? Do I have to manually edit all the links? Or is there a way to force update all the links to the new version?

Lastly, is there a way for the linked test case to also show as having been executed as part of the parent test case?

Thanks for any advice and assistance
Rab

P.S. I am really liking your software and it is working nicely for me. I am hoping to get it implemented and used properly in my company, if so I would like to get them to donate something to help the project grow and improve. Thanks for your work
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: Versions when ghosting and/or linking to other test case

Post by fman »

>>What happens when I have lots of test cases all linking to a common test case and I change that version?
>> Do I have to manually edit all the links?
YES.
>> Or is there a way to force update all the links to the new version?
This will be not easy to do because pointed TC or STEP ignore that is pointed.

One solution that can be implemented is indicate on ghost to use always latest active version.

>> Lastly, is there a way for the linked test case to also show as having been executed as part of the parent test case?
no, and this will be too expensive because a TC can be included in MULTIPLE TEST PLANS with MULTIPLE BUILDS, then issue is :
what can of indication has to be provided ?
just that hase been at least executed on one build on one test plan ?

If yoi want to transform questions of this post on feature requests (that need a very detailed requeriment) open one issue for each question on
mantis.testlink.org
Rab
Advanced user
Posts: 15
Joined: Tue Jan 08, 2013 6:58 pm

Re: Versions when ghosting and/or linking to other test case

Post by Rab »

Thanks for the reply

I am not clear on how to tell the ghost to always use the latest version. All the web pages I have read don't mention anything about the version being automatically set. Could you please point me to a resource that explains this?

I am using 1.9.5 at the moment, but will probably try upgrade to 1.9.7

Thanks
Rab
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: Versions when ghosting and/or linking to other test case

Post by fman »

create user on mantis, then you can login and find that a fix has been created to allow this feature.
Fix is avaliable for 1.9.8, feature will be part of 1.9.9
Rab
Advanced user
Posts: 15
Joined: Tue Jan 08, 2013 6:58 pm

Re: Versions when ghosting and/or linking to other test case

Post by Rab »

Hi
Thanks, I have upgraded to 1.9.8 and see the details after looking at the release notes. I have been playing around with this feature for the last hour but it wasnt working as I expected. Now that I know it works in 1.9.9 that makes sense. I will look into patching my 1.9.8 to get this working

From my point of view as a user, the way I would expect this to work is if you ghost a single step then only that step is shown, and if you ghost an entire test case then all steps of that test case are shown. What is happening now is regardless whether you link to step 1 or the whole testcase, it only shows step 1. Is this what the fix for 1.9.8 addresses?

Thanks
Rab
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: Versions when ghosting and/or linking to other test case

Post by fman »

on 1.9.9 (not yet released then is 1.9.8 with latest fixes) till now ONLY LATEST ACTIVE VERSION FOR WHOLE test case has been implemented.
in next days we can add same feature at step level.
check mantis.
Post Reply