The goal of this testing assignment is for you to perform structural, white-
box testing on the algorithm/program. Program accepts integer inputs (X, Y)
and outputs Z as XY
. Refer to the algorithm of the program on the next page
for a better understanding of it.
This assignment requires the following tasks:
1) Analysis- Analyse the program, number the statements in it as
shown in the algorithm, and generate program graph. After a
thorough analysis of the graph, discuss how many paths in the
program should be tested and illustrate three typical paths
through the program.
2) Decision-to-Decision Path Testing– Generate a DD-Path graph of
the given program by referring to the program graph generated in
the previous step. Refer to the DD-Path graph and pick a set of
DD-Paths that based on your analysis when tested will achieve
complete test coverage C1 of the program. Generate and execute
test cases based on these DD-Paths. Present the analysis that led
to the selection of the tested paths and complete a Structural Test
Case Form for each test case run.
3) Defect Reporting– Report defects if any of your test cases result in
errors. Prepare test cases using the Structural Test Case Form
provided.
Answers
Answered by
1
usr/bin/python
str = ” “;
print str.isspace( );
str = “This is string example….wow!!!”;
print str.isspace( )
Hope you understand ✔✔✔
Similar questions