|
See structural test case design. Techniques and Tools
This closeness to the code of an individual component makes it an essential element of Component Testing. White box is often interchangeable with structural testing and glass box testing. The analysis and running of sometimes very complex code means that developers are most likely to use these techniques, as part of their develpment process. Techniques
Static Analysis
An example of a metric, derived from static analysis is McCabes Cyclomatic Complexity Metric. A figure is generated indicating the complexity of the component or components. The higher the complexity goes, the probability of a fault increases. Static analysis can be undertaken manually or automatically depending on the type of test and the organisation. The most important technique is that of Reviews. and Inspection. The more rigourous of the two is Inspection with a very clearly laid down framework for rigourously checking documentation and sometimes code. Proponents claim dramatic decreases in defects found in the final software. Also known as Fagan Inspections after the man who introduced them at IBM. Reviews are much less rigourous in there framework and range from simple walkthroughs from an anlalyst to formal technical reviews involving many stakeholders. Tools are available for static analysis. These include syntax parsers and data-flow analysers. See more about Static Analysis Dynamic Analysis might be "proper" testing by some compared to static, as it involves executing some kind of code. I would disagree. The whole point of testing is to ensure software meets the requirements of the customer. If that can be ensured by checking and amending a document then, that is testing. Dynamic Analysis
A number of tools are available for dynamic analysis. These include Test Coverage (calculates how much of the code can be tested), tracers (records details such as variable values as the program runs), runtime analysis tools and simulators. A test harness may be used as well. See more of dynamic analysis White Box testing (or structurall testing is on the ISEB Practitioner syllabus |
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