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.

Black Box Test Techniques. Syntax Testing

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:

  • whenever an iteration is used, at least 2 options are derived, one with the minimum number of iterated symbols and the other with more than the minimum number of repetitions
  • whenever a selection is used, an option is derived for each alternative by replacing the selection with that alternative

For every test case these should be clarified:

  • the input to the component;
  • the generic mutation used;
  • the syntax element to which the mutation is applied;
  • the expected result of the test case.

Test cases with invalid syntax should be designed as:

  • a checklist of generic mutations should be documented which can be applied to rules in order to generate an invalid area of the input;
  • this checklist should be applied to the syntax to identify particular mutations of the valid input;
  • test cases should be designed to perform particular mutations.

A test case may exercise any number of options. For each test case these should be clarified:

  • option exercised;
  • the input to the component;
  • the expected result of the test case.
http://qatestlab.com/
Share
Related Documents
  1. In What Stage Are There More Software Bugs? (2410)
  2. Basics of Software Testing Policy (2792)
  3. What Does Testing Company Need From User To Start Proper Testing? (2351)
  4. Start Software Testing On Early Stages. How Does This Affect Cost? (3291)
  5. Principal Types of Verification (2486)
  6. Latent and Masked Software Bugs. What Is The Difference? (2770)
  7. Main Types of Defects in Software Testing (3498)
  8. Successful Bug Reporting (2468)
  9. Software Testing Documentation (2580)
  10. White Box Test Techniques. Linear Code Sequence and Jump Testing (3279)
  11. Control, Monitoring and Estimation in Software Testing (2654)
  12. The Main Goal of Acceptance Testing (2987)
  13. Undesirable Bug Reporting (2271)
  14. Configuration Management in Software Testing (2649)
  15. Workbench Concept in Software Testing (2575)
  16. What Is Software Bug Seeding? (1326)
  17. What Is Data-Driven Testing? (2582)
  18. What Is The Difference Between White Box, Black Box And Gray Box Testing? (1395)
  19. Validation and Failures In Software Testing (3028)
  20. What to Test and What Type of Faults Are Found? (1966)