by Nataliia Vasylyna | September 16, 2011 10:00 am
Introduction to black box testing to can find here[1].
Analysis
Syntax Testing uses such model of the formally defined syntax of the inputs to a component. The syntax is described as a number of rules each of which characterizes the probable means of production of a symbol in terms of sequences, iterations, or selections between symbols.
Test cases with valid and invalid syntax are designed from the formally defined syntax of the inputs to the component.
Supplementary rules can also be applied when appropriate:
For every test case these should be clarified:
Test cases with invalid syntax should be designed as:
A test case may exercise any number of options. For each test case these should be clarified:
Design
Test cases should be designed to exercise feasible statements.
For each test case the these should be clarified:
Analysis
Statement testing uses such model of the source code which identifies statements as either feasible or non- feasible.
Design
Test cases should be chosen randomly from the input domain of the component according to the input distribution.
The input distribution which used for the test case suite should be recorded.
A test case should include:
Analysis
Random Testing uses such model of the input domain of the component that characterizes the set of all probable input values. The input distribution which used in the generation of random input values should be based on the expected operational distribution of inputs. If it happens so that no information of operational distribution is accessible then a uniform input distribution should be used.
More about black box testing you can find here[2].
Source URL: https://blog.qatestlab.com/2011/09/16/black-box-test-techniques-syntax-testing/
Copyright ©2024 QATestLab Blog unless otherwise noted.