Software Testing Methodology Question:

Explain Testing Methods?

Tweet Share WhatsApp

Answer:

1. White Box
Also called ‘Structural Testing / Glass Box Testing’ is used for testing the code keeping the system specs in mind. Inner working is considered and thus Developers Test..
* Mutation Testing
Number of mutants of the same program created with minor changes and none of their result should coincide with that of the result of the original program given same test case.


* Basic Path Testing
Testing is done based on Flow graph notation, uses Cyclometric complexity & Graph matrices.


* Control Structure Testing
The Flow of control execution path is considered for testing. It does also checks :-
Conditional Testing : Branch Testing, Domain Testing.
Data Flow Testing.
Loop testing :Simple, Nested, Conditional, Unstructured Loops.

2. Gray Box

3. Black Box
Also called ‘Functional Testing’ as it concentrates on testing of the functionality rather than the internal details of code.
Test cases are designed based on the task descriptions
* Comparison Testing
Test cases results are compared with the results of the test Oracle.


* Graph Based Testing
Cause and effect graphs are generated and cyclometric complexity considered in using the test cases.


* Boundary Value Testing
Boundary values of the Equivalence classes are considered and tested as they generally fail in Equivalence class testing.


* Equivalence class Testing
Test inputs are classified into Equivalence classes such that one input check validates all the input values in that class.


Gray Box Testing : Similar to Black box but the test cases, risk assessments, and test methods involved in gray box testing are developed based on the knowledge of the internal data and flow structures

Download Testing Methodology PDF Read All 70 Testing Methodology Questions
Previous QuestionNext Question
Explain The Requirements of Testing Technique:What is the Automated Testing?