Can anyone please tell me what is sanity testing and regression testing.
Sanity Testing
Sanity testing is a type of testing done when the developer resolves a bug or a minor improvement is made to the current functionality. It is a type of high-level testing conducted by the testing team to ensure that the functionality works as intended.
Sanity testing is often considered a subset of regression testing conducted before regression testing to determine whether there are any hurdles in the application that can be solved as soon as possible.
Regression Testing
Regression Testing ensures that a recent program/code update has not had a negative impact on the application’s current functionality.
Regression Testing is conducted on a complete or limited set of already executed test cases that are re-executed [when a bug is fixed by the dev team] to ensure that current functionality and features function correctly with zero errors.
In its simplest form, sanity testing is done to check that a software product is working as defined when a new functionality or module is introduced. It is a quick quality evaluation technique that confirms whether further testing is needed.
On the other hand, regression testing is done concurrently after integration or unit testing and is a part of a continuous testing process that checks for the correctness of existing functionalities of the software. In practice, regression testing is a combination of tests that are run to check product quality before release.