Saturday, January 16, 2016

Black-box Testing

          Looking at the program from an external point of view and deriving test cases based on the specification.
          The only criteria upon which the program is judged is if it produces the correct output for a given input.
          Impossible to write a test case for every possible set of inputs and outputs
          Some of the code may not be reachable without extraordinary measures

          Specifications are not always complete

McCabe’s Cyclomatic Complexity
          Software metric
          Developed by Tom McCabe (circa 1976)
          Directly measures the number of linearly independent paths through a program’s source code, taking into account the various decision points
          Independent of implementation language

No comments:

Post a Comment