Static Testing
Static Testing is a type of software testing that is performed without actually running the code. It involves a systematic examination of software work products, such as code, requirements, and design documents, to find defects early in the development lifecycle. This is often done through activities like code reviews, inspections, and walkthroughs.
Example: A developer uses a static code analysis tool on the source code for a new login module. The tool automatically scans the code and identifies potential issues like syntax errors, unused variables, or a security vulnerability where a password might be stored in plain text. This process helps catch these issues before the code is ever compiled or executed.