Articles

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

Share

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,

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

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

This post was last modified on September 27, 2019

Sandeep Verma

Published by
Sandeep Verma
Tags: decision table based testing practical software testing st