software verification is a discipline of software engineering whose goal is to assure that software fully satisfies all the expected requirements. there are two fundamental approaches to verification: * dynamic verification, also known as test or experimentation - this is good for finding bugs * static verification, also known as analysis - this is useful for proving correctness of a program although it may result in false positives == dynamic verification (test, experimentation) == dynamic verification is performed during the execution of software, and dynamically checks its behaviour; it is commonly known as the test phase. verification is a review process. depending on the scope of tests, we can categorize them in three families: * test in the small: a test that checks a single function or class (unit test) * test in the large: a test that checks a group of classes, such as ** module test (a single module) ** integration test (more than one module) ** system test (the entire system) * acceptance test: a formal test defined to check acceptance criteria for a software ** functional test ** non functional test (performance, stress test) software verification is often confused with software validation. the difference between verification and validation: * software verification asks the question, "are we building the product right?"; that is, does the software conform to its specification. * software validation asks the question, "are we building the right product?"; that is, is the software doing what the user really requires. the aim of software verification is to find the errors introduced by an activity, i.e. check if the product of the activity is as correct as it was at the beginning of the activity. == static verification (analysis) == static verification is the process of checking that software meets requirements by inspecting the code before it runs. for example: * code conventions verification * bad practices (anti-pattern) detection * software metrics calculation * formal verification verification by analysis - the analysis verification method applies to verification by investigation, mathematical calculations, logical evaluation, and calculations using classical textbook methods or accepted general use computer methods. analysis includes sampling and correlating measured data and observed test results with calculated expected values to establish conformance with requirements. ==see also==  * verification and validation (software) == references == * ieee: swebok: guide to the software engineering body of knowledge * carlo ghezzi, mehdi jazayeri, dino mandrioli: fundamentals of software engineering, prentice hall, i
Software_testing