SE 4367 Functional Testing Learning Objectives What is functional testing? How to perform functional testing? How to generate test inputs? What are equivalence partitioning, boundary value testing, domain testing, state testing, and decision table testing? What is Functional Testing?
Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.
Another test case:
All test inputs in the X<0 sub-domain are considered equivalent.
The assumption is that if one test input in this sub-domain reveals
an error in the program, so will the others.
This is true of the test inputs in the X>=0 sub-domain also.
Note that the values -20 and 14 are on either side of the boundary and are chosen arbitrarily.
Q x A--> Q
x/y: x is an element of
the alphabet and y is
d/i=i+d*10j ; j=j+1
d/ i= d
j = 1
i is initialized to d and j to 1 when the machine moves from state q0 to q1.
i is incremented by 10j*d and j by 1 when the machine moves from q1 to q1.
The current value of i is output when a CR is encountered.
Can you describe what this machine computes?
/* state is global, with values q0, q1, q2. i is also global.*/
i=digit; j = 1 ; /* perform action. */
state=q1; /* set next state. */
break; /* event digit is done. */
i=i+10^j*digit; j++; /* Add the next digit. */
/*…complete the program. */
Number of test cases
Effort to Identify Test Cases