Difference between Static Testing and Dynamic testing in Manual testing ||

Опубликовано: 03 Декабрь 2024
на канале: Software Testing By JP
458
21

Difference between Static Testing and Dynamic Testing:


Static Testing is performed in the early stage of the software development. Dynamic Testing is performed at the later stage of the software development.


In static testing whole code is not executed.
In dynamic testing whole code is executed.


Static testing prevents the defects.
Dynamic testing finds and fixes the defects.


Static testing is performed before code deployment.
Dynamic testing is performed after code deployment.


Static testing is less costly.
Dynamic testing is highly costly.


Static Testing involves checklist for testing process.
Dynamic Testing involves test cases for testing process.


Static testing includes walkthroughs, code review, inspection etc.
Dynamic testing involves functional and nonfunctional testing.


Static testing generally takes shorter time.
Dynamic testing usually takes longer time as it involves running several test cases.


Static testing can discover variety of bugs.
Dynamic testing expose the bugs that are explorable through execution hence discover only limited type of bugs.


Static Testing may complete 100% statement coverage in comparably less time.
While dynamic testing only achieves less than 50% statement coverage.


Example for Static testing is Verification
Example for Dynamic testing is Validation