Functional testing is a type of black box testing that bases its test cases on the specifications of the software component under test. Functions are tested by feeding them input and examining the output, and internal program structure is rarely considered (not like in white-box testing).[1] Functional testing differs from system testing in that functional testing "verif[ies] a program by checking it against . design document(s) or specification(s)", while system testing "validate[s] a program by checking it against the published user or system requirements".