In this tutorial, we will learn the Static Testing vs Dynamic Testing in detail.
What is Static Testing?
Static Testing is a software testing method, which is used to check defects in software without actually executing the code of the software application.
Read our detailed guide on Static Testing
What is Dynamic Testing?
Dynamic Testing is a software testing method, which is used to check defects in software by executing the code of the software application.
Read our detailed guide on Dynamic Testing
What is the difference between Static and Dynamic testing?
Both static and dynamic testing are equally important and affects client satisfaction. So development teams should consider both these testing types with equal importance.
|Static testing is also known as verification testing.
|Dynamic testing is also known as validation testing.
|It is done without executing the source code.
|It is done by executing the source code.
|It prevents the defects.
|It finds and fixes the defects.
|It involves checklist, and process to be followed.
|It involves source code and test cases for execution.
|It consists of reviews, walkthrough, inspection etc.,
|It consists of functional, non-functional testing and data/control flow analysis.
|When compared to dynamic testing, there are a lot of meetings.
|When compared to static testing, the number of meetings is fewer.
|It is less expensive than dynamic testing.
|It is more expensive than static testing.
|It generally takes less time.
|It takes longer time to complete the procedure because it involves executing several test cases.
|It is performed in the early stage of the SDLC.
|It is performed at the later stage of the SDLC.
|It is performed before code deployment.
|It is performed after code deployment.
|It covers the structural and statement coverage testing.
|It covers the executable file of the code.
|It includes requirement document, design document, program specifications etc.,
|It includes unit testing, integration testing, system testing, performance testing, security testing etc.,
|Some of the tools used for Static testing are:
- Source meter
|Some of the tools used for dynamic testing are:
- SDLC Vs STLC
- Quality Assurance vs Quality Control (QA vs QC)
- Manual vs Automation Testing
- Black Box And White Box Testing
- Smoke Testing Vs Sanity Testing
- Test Strategy Vs Test Plan
- Test Case Vs Test Scenario
- Regression Vs Retesting
- Severity Vs Priority
- Functional Vs Non-Functional Testing
- Unit Testing Vs Integration Testing
- Integration Vs System Testing
- Verification And Validation
- Entry And Exit Criteria
- Performance Engineering Vs Performance Testing
- Performance Vs Load Testing
- Load Testing Vs Stress Testing
- Difference between Desktop, Client-Server And Web Application Testing
- Difference Between Defect Bug Error And Failure