-->

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


Related Posts

2 comments

  1. Thank you so much for the post you do. I your post and all you share with us is up to date and quite informative, i would like to bookmark the page so i can come here again to read you, as you have done a wonderful job. panda security

    ReplyDelete
  2. 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

Post a Comment

Subscribe Our Newsletter