Path Instrumentation 1 in Software Testing

Path Instrumentation

Path instrumentation confirms that the outcome was achieved by the intended path
 The displayed image is an example of a routine for the assumed input value x=4
If it yields the same output y=5 for all the case statements then it said to be co-incidental correctness
Otherwise it detects a bug
Co-incidental Correctness: The co-incidental correctness stands for achieving the desired outcome for wrong reason
The above image is an example of a routine, for the (unfortunately) chosen input value (X=16), yields the same outcome (y=2), no matter which case we select
Therefore, the tests chosen this way will not tell us whether we have achieved coverage
For example, the five cases could be totally jumbled and still the outcome would be the same


Share on Google Plus

About Data Sciences by Venu

Hi, My name is Venugopala Chary and I'm Currently working as Associate Professor in Reputed Engineerng College, Hyderabad. I have B.Tech and M.tech in regular from JNTU Hyderabad. I have 11 Years of Teaching Experience for both B.Tech and M.Tech Courses.
    Blogger Comment
    Facebook Comment

1 comments:

  1. I really thank you for the valuable info this great subject and look forward to more great posts. Thanks a lot for enjoying this beauty article with me. I am appreciating it very much! Looking forward to another great article. Good luck to the author! All the best!horizon data sys

    ReplyDelete