Path Sensitizing in Software Testing

Path Sensitizing

Review: Achievable and Unachievable Paths:
  • We want to select and test enough paths to achieve a satisfactory notion of test completeness, such as C1 + C2
  • Extract the programs control flow graph and select a set of tentative covering paths
  • For any path in that set, interpret the predicates along the path as needed to express them in terms of the input vector
  • In general, individual predicates are compound or may become compound as a result of interpretation
  • Trace the path through by multiplying the individual compound predicates to achieve a Boolean expression such as
        (A + BC) (D + E) (FGH) (IJ) (K) (I) (L)
  • Multiply the expression to achieve a sum of products form:
        ADFGHIJKL + AEFGHIKL + BCDFGHIJKL + BCEFCHIJKL
  • Each product term denotes a set of inequalities, that if solved will yield an input vector that will drive the routine along the designated path
  • Solve any one of the inequality sets for the chosen path, and you have found a set of input values for the path
  • If you can find a solution, the the path is achievable
  • If you cannot find a solution, then the path is achievable
  • If you cannot find a solution to any of the sets of inequalities, the path is not achievable
  • The act of finding a set of solutions to the path predicate expression is called path sensitization

Heuristic Procedures for Sensitizing Paths:
  • This is a workable approach, instead of selecting the paths without considering how to sensitize, attempt to choose a covering path set that is easy to sensitize and pick hard to sensitize paths only as you must to achieve coverage
  • Identify all variables that affect the decision
  • Classify the predicates as dependent or independent
  • Start the path selection with uncorrelated, independent predicates
  • If coverage has not been achieved using independent uncorrelated predicates, extend the path set using correlated predicates
  • If coverage has not been achieved, extend the cases to those that involve dependent predicates
  • Finally, use correlated and dependent predicates
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

21 comments:

  1. The information you have posted here is really useful and interesting too & here, I had a chance to gather some useful information, thanks for sharing and I have an expectation about your future blogs keep your updates please.
    Software testing training institutes in chennai|Best software testing training institute in chennai

    ReplyDelete
  2. 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.
    Digital Marketing online training

    ReplyDelete
  3. Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging.
    full stack developer training in annanagar

    full stack developer training in tambaram

    full stack developer training in velachery

    ReplyDelete
  4. It's interesting that many of the bloggers to helped clarify a few things for me as well as giving.Most of ideas can be nice content.The people to give them a good shake to get your point and across the command
    Blueprism training in Pune

    Blueprism online training

    Blue Prism Training in Pune

    ReplyDelete
  5. Fantastic work! This is the type of information that should follow collective approximately the web. Embarrassment captivating position Google for not positioning this transmit higher! Enlarge taking place greater than and visit my web situate
    Data Science training in rajaji nagar
    Data Science training in chennai
    Data Science training in electronic city
    Data Science training in USA
    Data science training in pune
    Data science training in kalyan nagar

    ReplyDelete
  6. From your discussion I have understood that which will be better for me and which is easy to use. Really, I have liked your brilliant discussion. I will comThis is great helping material for every one visitor. You have done a great responsible person. i want to say thanks owner of this blog.
    java training in chennai | java training in bangalore

    java online training | java training in pune

    ReplyDelete
  7. You made such an interesting piece to read, giving every subject enlightenment for us to gain knowledge. Thanks for sharing the such information with us
    angularjs Training in chennai
    angularjs-Training in pune

    angularjs-Training in chennai

    angularjs Training in chennai

    angularjs-Training in tambaram

    ReplyDelete
  8. Hello, I read your blog occasionally, and I own a similar one, and I was just wondering if you get a lot of spam remarks? If so how do you stop it, any plugin
    fire and safety course in chennai

    ReplyDelete
  9. I was curious if you ever considered changing the layout of your site? It’s very well written
    fire and safety course in chennai

    ReplyDelete
  10. This is quite educational arrange. It has famous breeding about what I rarity to vouch. Colossal proverb. This trumpet is a famous tone to nab to troths. Congratulations on a career well achieved. This arrange is synchronous s informative impolite festivity to pity. I appreciated what you ok extremely here.

    devops online training

    aws online training

    data science with python online training

    data science online training

    rpa online training

    ReplyDelete
  11. The above article seems so informative. This helps people like us to understand the concept of software testing for our Software testing training in chennai

    ReplyDelete
  12. Hey, would you mind if I share your blog with my twitter group? There’s a lot of folks that I think would enjoy your content. Please let me know. Thank you.
    Java Training in Chennai | J2EE Training in Chennai | Advanced Java Training in Chennai | Core Java Training in Chennai | Java Training institute in Chennai

    ReplyDelete
  13. hanks for sharing your post with us..
    This is amazing and really inspiring!! goals.software testing training in bangalore


    ReplyDelete
  14. You should be a piece of a challenge for probably the best website on the web. I will suggest this site!
    live

    ReplyDelete
  15. i am glad to discover this page : i have to thank you for the time i spent on this especially great reading !! i really liked each part and also bookmarked you for new information on your site.
    QA Companies
    Automation Testing Companies
    Mobile App Testing Companies
    Performance Testing Companies
    Security Testing Companies

    ReplyDelete
  16. This post is so interactive and informative.keep update more information...
    Android Training in Anna Nagar
    Android Training in Chennai

    ReplyDelete
  17. This post is so interactive and informative.keep update more information...
    DevOps course in Tambaram
    DevOps Training in Chennai

    ReplyDelete
  18. I like your blog! Your explanation of multiplying and simplifying the expressions to obtain sets of inequalities is clear and concise. Also provides valuable insights into the process of path sensitization and offers helpful strategies for selecting and testing paths. Keep up the great work!
    Candidates can learn this with Software Testing Training Institute in Meerut

    ReplyDelete
  19. Thank you for sharing! I always appreciate engaging with excellent content like this. The ideas presented are not only valuable but also creatively presented, making the post thoroughly enjoyable. Keep up the fantastic work.
    visit: Natural Language Processing in Data Science: Text Analysis

    ReplyDelete