Software Testing is evaluation of the software against requirements gathered from users and system specifications. Testing is conducted at the phase level in software development life cycle or at module level in program code. Software testing comprises of Validation and Verification.
Validation is process of examining whether or not the software satisfies the user requirements. It is carried out at the end of the SDLC. If the software matches requirements for which it was made, it is validated.
- Validation ensures the product under development is as per the user requirements.
- Validation answers the question – “Are we developing the product which attempts all that user needs from this software ?”.
- Validation emphasizes on user requirements.
Verification is the process of confirming if the software is meeting the business requirements, and is developed adhering to the proper specifications and methodologies.
- Verification ensures the product being developed is according to design specifications.
- Verification answers the question– “Are we developing this product by firmly following all design specifications ?”
- Verifications concentrates on the design and system specifications.
Target of the test are –
- Errors – These are actual coding mistakes made by developers. In addition, there is a difference in output of software and desired output, is considered as an error.
- Fault – When error exists fault occurs. A fault, also known as a bug, is a result of an error which can cause system to fail.
- Failure – failure is said to be the inability of the system to perform the desired task. Failure occurs when fault exists in the system.