Testability Tips in Software Testing Methodologies

Testability Tips


The following are some tips related to path testing regarding testability and for creating testable software
Count the total number of paths (C1), the total number of achievable paths (C2) and the number of paths required for achieving C2 coverage (C3). The closer the numbers C1, C2, C3 the more testable the software is

    ⇒Make your decisions only once and stick to the plan without making decisions in the middle
    ⇒Don't compress the code
    ⇒Build the software only if you can test it
    ⇒Don't introduce any additional functionality, generalizations and extras to the code as that needs more cases to cover
    ⇒Be sure about how to sensitize a path that you need for coverage
    ⇒Covering paths is very important for functionality
    ⇒Avoid deeply nested and horrible looping code. They don't indicate the skill of the programmer
    ⇒Avoid flags, switches, program status counters and other violations of code as they make things complex
    ⇒The most important is to always remember - Don't reduce/compress the code
    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: