Functional Testing: the software program or system under test is observed as a “black box”. The
choice of test cases for functional testing is based on the requirement or design specification of the
software entity under test. Examples of expected results sometimes are called test oracles, include
requirement/design specifications, hand calculated values, and simulated results. Functional testing
mainly focus on external behaviour of the software entity.
Structural Testing: the software entity is viewed as a “white box”. The selection of test cases is
based on the implementation of the software entity. The goal of selecting such test cases is to cause
the execution of specific spots in the software entity, such as specific statements, program branches or paths. The expected results are evaluated on a set of coverage criteria. Examples of coverage criteria include path coverage, branch coverage, and data-flow coverage. Structural testing highlights on the internal structure of the software entity.
choice of test cases for functional testing is based on the requirement or design specification of the
software entity under test. Examples of expected results sometimes are called test oracles, include
requirement/design specifications, hand calculated values, and simulated results. Functional testing
mainly focus on external behaviour of the software entity.
Structural Testing: the software entity is viewed as a “white box”. The selection of test cases is
based on the implementation of the software entity. The goal of selecting such test cases is to cause
the execution of specific spots in the software entity, such as specific statements, program branches or paths. The expected results are evaluated on a set of coverage criteria. Examples of coverage criteria include path coverage, branch coverage, and data-flow coverage. Structural testing highlights on the internal structure of the software entity.
No comments:
Post a Comment