SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Jun 2002
    Posts
    51
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Exemption for Unit Testing?

    Some developers from my company have proposed to be exempted from unit testing for certain modules as they claimed they are unable to replicate same bug in UAT environment etc. hmm...I have never come across this.Need advice from all QA experts out there. Thank you very much!

  2. #2
    Senior Member
    Join Date
    Apr 2003
    Location
    Wisconsin, USA
    Posts
    5,338
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Exemption for Unit Testing?

    Sounds to me like they just don't want to take the time to test their code. Developers like to code, not test.

    If it were me in your shoes, I would recommend strongly that this proposal be rejected. However, there is also a burden on the testers. If the developers truly cannot replicate the bug and the testers can, then the testers did not completely document how to replicate. In that case, you have some fence mending to do before you make your recommendation.

  3. #3
    Junior Member
    Join Date
    Jul 2004
    Location
    New York
    Posts
    1
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Exemption for Unit Testing?

    There are more benefits to unit testing than only finding and fixing bugs. One such benefit is it protects against changes made to one part of the code having an unintended side-effect on another part.

    If they can't replicate the bug with Unit Tests, it sounds like the bug is occuring in an interaction with another component or resource. What they need to do in that case is create a mock object for that component or resource, make that mock object return the value that is causing the problem, and fix the code to handle that condition correctly.

  4. #4
    Senior Member
    Join Date
    May 2003
    Location
    New Zealand
    Posts
    232
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Exemption for Unit Testing?

    it often happens where I work. There are some bugs that the developers can never reproduce in their development environment and they often don't have the same physical hardware available to them as testing does....as long as they inform us that they were unable to unit test..thats fine - we will ensure we test more thoroughly
    There are however many developers who are just lazy and don't like unit testing..those ones are likely to get their code rejected and sent back.

  5. #5
    Member
    Join Date
    Apr 2000
    Location
    San Mateo CA USA
    Posts
    44
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Exemption for Unit Testing?

    Always developers don't want unit test their code unless there is strong policy in the company. In our place, Developer can not check-in code unless his/her unit test is passed. Obviously there are lot of benifits of doing, though you see delay of delivering initial version of software.

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 9.38%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 08:09 PM.

Copyright BetaSoft Inc.