Pages

Testing Blindness in Software Testing

Testing Blindness

Testing Blindness is a pathological (harmful)situation in which the desired path is achieved for the wrong reason
There are three types of testing blindness
 
Assignment Blindness
Assignment Blindness occurs when the buggy predicate appears to work correctly because the specific value chosen for an assignment statement works with both the correct and incorrect predicate
Example:
Correct
X = 7
-------
if Y > 0 then
Buggy
X = 7
-------
if X + Y > 0 then..
If the test case sets Y = 1, the desired path is taken in either case, but the bug still exists
 
Equality Blindness
Equality Blindness occurs when the path selected by prior predicate results in a value, that works both for the correct and buggy predicate
Example:
Correct
If Y = 2 then
-----------
If  X + Y > 3 then
Buggy
If Y = 2 then
-----------
If X > 1 then
The first predicate, if y = 2 forces the rest of the path, so that for any positive value of x, the path taken at the second predicate will be the same for the correct and buggy version
 
Self Blindness
Self blindness occurs when the buggy predicate is a multiple of the correct predicate, and as a result is indistinguishable along that path
Example:
Correct
X = A
-------
if X – 1 > 0 then
Buggy
X = A
-------
if X + A + 2 > 0 then..
The assignment (x =a) makes the predicates multiples of each other, so the direction taken is the same for the correct and buggy version
 

41 comments:

  1. Thanks for your informative article on software testing. Your post helped me to understand the future and career prospects in software testing. Keep on updating your blog with such awesome article.
    Regards,
    Software training|Software testing training in chennai

    ReplyDelete
  2. It's very helpfull to us do like this and make eassy to learn

    ReplyDelete
  3. This comment has been removed by the author.

    ReplyDelete
  4. Great job for publishing such a beneficial web site. Your web log isn’t only useful but it is additionally really creative too. There tend to be not many people who can certainly write not so simple posts that artistically. Continue the nice writing antivirus panda

    ReplyDelete
  5. Just admiring your work and wondering how managed this blog so well. It’s so remarkable that I can't afford to not go through this valuable information whenever I surf the internet!blue iris software

    ReplyDelete
  6. It is amazing and wonderful to visit your site.Thanks for sharing this information,this is useful to me...
    Android Training in Chennai
    Ios Training in Chennai

    ReplyDelete
  7. Thanks for sharing this blog. This very important and informative blog
    Learned a lot of new things from your post! Good creation and HATS OFF to the creativity of your mind.
    Very interesting and useful blog!
    Best Sofware Testing in Gurgaon

    ReplyDelete
  8. Thank You Admin.
    Click Here for more JNTU study material.

    ReplyDelete
  9. I believe there are many more pleasurable opportunities ahead for individuals that looked at your site.
    amazon-web-services-training-in-bangalore

    Best Hadoop Training Institute In chennai

    ReplyDelete
  10. I wish to show thanks to you just for bailing me out of this particular trouble.As a result of checking through the net and meeting techniques that were not productive, I thought my life was done.

    Best Java Training Institute Chennai

    ReplyDelete
  11. It is amazing and wonderful to visit your site.Thanks for sharing this information,this is useful to me..


    software testing training online

    ReplyDelete
  12. I am really happy with your blog because your article is very unique and powerful for new reader.
    Best Python training Institute in chennai

    ReplyDelete
  13. Thanks For Clearing All My Doubts Through Your Website Post.You Cleared All My Doubts.Coming To Our Self We Provide Food Equipment Parts Through Out US At Very Affordable Prices And Also We Offer Same Day Shipping In US.We Offer Only Genuine Products.

    ReplyDelete
  14. This Blog is very helpful and useful,came to know that i should be strong in my basics and this blog helps me to improve it,Urgent Care Services Provided by Us.Thanks For Posting.I Am refereed by my friend to this blog and i also want to refer my other friends to this blog.

    ReplyDelete
  15. Thank for sharing the information Excellent article Bala Guntipalli Thanks for posting.

    ReplyDelete
  16. Thanks For Sharing Valuable Information, Very Useful For U Mulesoft Certification Training

    ReplyDelete

  17. This Blog is very helpful and useful,came to know that i should be strong in my basics and this blog helps me to improve it,Chicago Immediate Care Services Provided by Us.Thanks For Posting.I Am refereed by my friend to this blog and i also want to refer my other friends to this blog.

    ReplyDelete
  18. What you told about it is new. I am very happy that there is such a blog in which I got something new and which is very useful for people's work. I get a lot of new things from your blog and I want people to see this blog Will speak.
    software testing

    ReplyDelete
  19. I am really happy with your blog because your article is very unique and powerful for new reader.
    Click here:
    Selenium Training in Chennai | Selenium Training in Bangalore | Selenium Training in Pune

    ReplyDelete
  20. All the points you described so beautiful. Every time i read your i blog and i am so surprised that how you can write so well.

    Java training in Chennai | Java training in Bangalore

    Java interview questions and answers | Core Java interview questions and answers

    ReplyDelete
  21. Woah this blog is wonderful i like studying your posts. Keep up the great work! You understand, lots of persons are hunting around for this info, you could help them greatly.
    Data Science course in Indira nagar
    Data Science course in marathahalli
    Data Science Interview questions and answers



    ReplyDelete
  22. The knowledge of technology you have been sharing thorough this post is very much helpful to develop new idea. here by i also want to share this.
    Devops Training courses
    Devops Training in Bangalore
    Best Devops Training in pune
    Devops interview questions and answers

    ReplyDelete
  23. Thank you so much for a well written, easy to understand article on this. It can get really confusing when trying to explain it – but you did a great job. Thank you!
    python course in pune
    python course in chennai
    python course in Bangalore

    ReplyDelete
  24. Information from this blog is very useful for me, am very happy to read this blog Kindly visit us @ Luxury Watch Box | Shoe Box Manufacturer | Luxury Cosmetics Box

    ReplyDelete
  25. Amazing article. Your blog helped me to improve myself in many ways thanks for sharing this kind of wonderful informative blogs in live. I have bookmarked more article from this website. Such a nice blog you are providing ! Kindly Visit Us @ Best Travels in Madurai | Tours and Travels in Madurai | Madurai Travels

    ReplyDelete
  26. Very great and good information on JNTU99 Study Material.

    ReplyDelete