|
What
Statement Testing is a structural or white box technique, because it is conducted with reference to the code. Statement testing comes under Dynamic Analysis.. In an ideal world every statement of every component would be fully tested. However, in the real world this hardly ever happens. In statement testing every possible statement is tested. Compare this to Branch testing, where each branch is tested, to check that it can be traversed, whether it encounters a statement or not. In the diagram below, statement testing would have 1 test, as only the left hand branch has a statement on it. The alternative branch along the 2nd arrow does not have a statement and does not need to be tested. ![]() Why? Who? Where?
When?
How?
A metric statement coverage is available to measure how much of the code has been executed. |
Test Techniques Bestsellers
The bestselling books on Amazon.
Articles
Other Related Websites
Visit our site of the month Load Testing at loadtesting.force9.co.uk