Design the test cases and test the program of Quadratic Equation by using Decision Table Based testing

Program

If you’re interested to see “Quadratic Equation Problem “ code, then the link is here with tested test cases.

Decision Table Based Testing

In Decision table based testing,  Condition stubs and Action stubs are recognized as inputs and outputs. Here, we’ll be using this black box testing technique to generate test cases:

Let’s create the decision table first,

Desicion Table testing 1

Now, we will accordingly create test cases based on the above decision table.

Test IDabcExpected OutputProgram OutputTested Outcome
1055Not QuadraticNot QuadraticPass
2155RealRealPass
3955ImaginaryImaginaryPass
45105EqualEqualPass

Leave a Reply