The online community for software testing & quality assurance professionals
 
 
Calendar   Today's Topics
Sponsors:




Lost Password?

Home
BetaSoft
Blogs
Jobs
Training
News
Links
Downloads



Software Testing >> Functional Testing

Pages: 1
gkss1
Newbie


Reged: 10/07/12
Posts: 1
A defect that affects 2 test cases
      #717627 - 10/07/12 08:59 PM

What do you do If a defect is affecting two separate test cases Indirectly not directly. DO you assign the defect to both test cases and fail both?
Also note the defect was found as part of another test case initially has already been 'Failed'

Edited by gkss1 (10/07/12 09:41 PM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
Joe Strazzere
Moderator


Reged: 05/15/00
Posts: 12344
Loc: Massachusetts, USA
Re: A defect that affects 2 test cases [Re: gkss1]
      #717645 - 10/08/12 05:25 AM

Quote:

DO you assign the defect to both test cases and fail both?



I don't "assign defects to test cases".

But if I did, I'd assign this defect to every test case that was impacted.

--------------------
- Joe
Visit AllThingsQuality.com to learn more about quality, testing, and QA!

I speak only for me. I do not speak for my employer, nor for anyone else.


Post Extras: Print Post   Remind Me!   Notify Moderator  
Ankur_T
Newbie


Reged: 09/05/12
Posts: 10
Loc: India
Re: A defect that affects 2 test cases [Re: Joe Strazzere]
      #717650 - 10/08/12 07:25 AM

If the bug is a show stopper for the indirectly related test cases, we block those test cases giving reference to the bug. Once the bug is resolved we come back and execute them.

But if the bug is not a show stopper, we continue with the execution (in hope of getting some additional bugs) but mark the test case as fail against that bug.

1 question to Joe: If you don't assign defects to test cases then how do you fail the test cases( I mean how do you justify your failed test cases) and how do you remember to re-execute which all test cases, after a defect is fixed?
Please clarify.

Regards -
Ankur


Post Extras: Print Post   Remind Me!   Notify Moderator  
Joe Strazzere
Moderator


Reged: 05/15/00
Posts: 12344
Loc: Massachusetts, USA
Re: A defect that affects 2 test cases [Re: Ankur_T]
      #717660 - 10/08/12 09:11 AM

Quote:

1 question to Joe: If you don't assign defects to test cases then how do you fail the test cases( I mean how do you justify your failed test cases) and how do you remember to re-execute which all test cases, after a defect is fixed?



I don't fail test cases. I'm not even sure I understand what you mean by "fail test cases".

When a bug is fixed, we verify the fix in the build containing that fix.

--------------------
- Joe
Visit AllThingsQuality.com to learn more about quality, testing, and QA!

I speak only for me. I do not speak for my employer, nor for anyone else.


Post Extras: Print Post   Remind Me!   Notify Moderator  
Ankur_T
Newbie


Reged: 09/05/12
Posts: 10
Loc: India
Re: A defect that affects 2 test cases [Re: Joe Strazzere]
      #717706 - 10/09/12 01:41 AM

We write test cases to ensure application under test meets the expectation. Then during execution phase we execute the test cases. If application meets the expectation mentioned in the test case, we pass the test case; And if all the related test cases are passed we say that particular application/functionality is ready for UAT (User Acceptance) testing.

If application doesn't meet the expectation we mark corresponding test case as fail and raise bugs encountered and link to the test cases.

Also please note that we follow agile methodology.

Hope this time I am clear

Regards -
Ankur


Post Extras: Print Post   Remind Me!   Notify Moderator  
Mr_Perfect
Member


Reged: 07/31/07
Posts: 95
Re: A defect that affects 2 test cases [Re: Ankur_T]
      #717759 - 10/09/12 10:06 AM

We follow below process.
Any test case failing due to a defect should be marked as failed and all the other test cases impacted due to that defect are marked as blocked with defect id as blocked reason.
we dont assign the defect to a test case.
We link the defect to a test case.
we assign defect to the developer or Business Analyst.
depending if the defect is raised against a code or business requirement.

--------------------
I have nothing to declare except my genius. -Oscar Wilde

Edited by Mr_Perfect (10/09/12 10:07 AM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
SQAExpert2012
Newbie


Reged: 10/10/12
Posts: 5
Re: A defect that affects 2 test cases [Re: Mr_Perfect]
      #717821 - 10/10/12 07:22 AM

Funny..it seems I just answered a similar question. The best practice is fail one test case and block another. Please do not fail both as I am sure the two test cases cannot have the same objectives.

Thanks
Raj

--------------------
What is the prospect of Software Testing Career?


Post Extras: Print Post   Remind Me!   Notify Moderator  
Ankur_T
Newbie


Reged: 09/05/12
Posts: 10
Loc: India
Re: A defect that affects 2 test cases [Re: SQAExpert2012]
      #717882 - 10/11/12 04:42 AM

Blocking a test case would mean you are not executing that test case at all and this would hold you from exploring other functionalites those are covered in the blocked test case and as result you won't raise bugs (if any) related to blocked test case. This would in turn result in a delay.

So what I think unless the bug is a blocker you should continue testing.

Regards -
Ankur


Post Extras: Print Post   Remind Me!   Notify Moderator  
SanketVaidya
Member


Reged: 09/09/08
Posts: 360
Re: A defect that affects 2 test cases [Re: Ankur_T]
      #718458 - 10/21/12 01:40 AM

I wouldn't fail the two test cases. However I would again run those test cases when the defect is fixed.

--------------------
Best Regards,
Sanket Vaidya

See my tool Om for field testing at http://sourceforge.net/p/omfortesting/home/description/


Post Extras: Print Post   Remind Me!   Notify Moderator  
srivatsanraju
Junior Member


Reged: 11/20/05
Posts: 52
Loc: Tamiladu India
Re: A defect that affects 2 test cases [Re: SanketVaidya]
      #718859 - 10/28/12 06:22 AM

If the first testcase has found a defect and if it has been marked "Fail" then test engineer will not be able to test second testcase and it should be marked "Not tested".

--------------------
Srivatsan


Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1



Extra information
0 registered and 19 anonymous users are browsing this forum.

Moderator:  blueinatl, AJ, Jeanj, corklad, martinh, brentpaine 

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Topic views: 7737

Rate this topic

Jump to

Contact Us | Privacy statement SQAForums

Powered by UBB.threads™ 6.5.5