Static Testing Vs Dynamics Testing
Static Testing Vs Dynamics Testing
Requirement specifications
Design document
Source Code
Test Plans
Test Cases
Test Scripts
Help or User document
Web Page content
The main objective of this testing is to confirm that the software product
works in conformance with the business requirements. This testing is also
called an Execution technique or validation testing.
Dynamic testing executes the software and validates the output with the
expected outcome. Dynamic testing is performed at all levels of testing and
it can be either black or white box testing.
KEY DIFFERENCE
Static testing was done without executing the program whereas
Dynamic testing is done by executing the program.
Static testing checks the code, requirement documents, and design
documents to find errors whereas Dynamic testing checks the
functional behavior of software system, memory/CPU usage and
overall performance of the system.
Static testing is about the prevention of defects whereas Dynamic
testing is about finding and fixing the defects.
Static testing does the verification process while Dynamic testing
does the validation process.
Static testing is performed before compilation whereas Dynamic
testing is performed after compilation.
Static testing techniques are structural and statement coverage while
Dynamic testing techniques are Boundary Value Analysis &
Equivalence Partitioning.
This testing does the verification process Dynamic testing does the validation process
Static testing is about prevention of Dynamic testing is about finding and fixing
defects the defects
Static testing gives an assessment of code Dynamic testing gives bugs/bottlenecks in the
and documentation software system.
Static testing involves a checklist and Dynamic testing involves test cases for
process to be followed execution
Static testing covers the structural and Dynamic testing techniques are Boundary
statement coverage testing Value Analysis & Equivalence Partitioning.
Cost of finding defects and fixing is less Cost of finding and fixing defects is high
Return on investment will be high as this Return on investment will be low as this
process involved at an early stage process involves after the development phase
More reviews comments are highly More defects are highly recommended for
recommended for good quality good quality.