Content deleted Content added
NoahSussman (talk | contribs) m Remove confusing abbreviation CFG for "control flow graph" and link to definition page. As a reader this confused me to the point I spent 15 minutes figuring out that I was just confused :\ |
NoahSussman (talk | contribs) m Remove confusing abbreviation CFG for "control flow graph." |
||
Line 1:
In [[software engineering]], '''basis path testing''', or '''structured testing''',<ref name="nist">{{cite web|
url=http://www.mccabe.com/pdf/mccabe-nist235r.pdf| title=Structured Testing: A Testing Methodology Using the Cyclomatic Complexity Metric| author=Arthur H. Watson and Thomas J. McCabe| year=1996|publisher=NIST Special Publication 500-235}}</ref> is a [[White-box testing|white box method]] for designing [[test case]]s. The method analyzes the [[control flow graph]] of a program to find a set of linearly independent paths of [[execution (computing)|execution]]. The method normally uses McCabe' [[cyclomatic complexity]] to determine the number of linearly independent paths and then generates test cases for each path thus obtained.<ref name="Westfall2008">{{cite book|author=Linda Westfall|title=The Certified Software Quality Engineer Handbook|year=2008|publisher=ASQ Quality Press|isbn=978-0-87389-730-3|pages=436-437}}</ref> Basis path testing guarantees complete [[branch coverage]] (all edges of the [[control flow graph]]), but achieves that without covering all possible
==See also==
|