NBA Accreditation
Static Testing and Dynamic Testing: What are The Differences

Static Testing and Dynamic Testing: What are The Differences


In my previous blog, I have discussed about importance of testing and why fresher choose their career in software testing. Now today, I will tell about types of testing: 

    Static Testing
    Dynamic Testing

In static Testing, there is no need to execute code. A Tester who has to do this kind of testing only reads the code and finds out the mistakes. Mainly Documentation testing and review of the part of static testing. Now the question is which type of document is prepared during project making. So according to the software development life cycle (SDLC), there are two documents prepared in the requirement phase which is the first step of SDLC. Software requirement specification (SRS) and Business requirement specification are two documents. SRS shows objectives, goals, features, system definition and references etc, when tester test in these kinds document so this type of testing is called Static Testing. BRS document shows budget, schedule of your projects.


Now second phase of SDLC is design phase. Before talking about design phase first try to understand what is it? Design is basically called Pictorial representation of your project. Now how to design it? With the help of flowchart, DFD and E-r diagrams. Designer Team design their project and when testing team find out mistakes in this diagram then it is called static testing.


Now the third phase of SDLC is coding. The coding phase contains both dynamic and static testing. The coding phase is static until it is compiled and after run it is converted into dynamic. Static testing is called verification. In dynamic testing tester run all the code according to the requirement then find out error. It is also called as validation process. In dynamic testing tester checks all expected scenarios of a client project. The tester compiled all code before installation on client sites. It is done by tester team or developer, whereas static testing done by reviewer.


Difference Between Static Testing and Dynamic Testing


    In static testing tester tests the application without executing the code whereas in dynamic testing tester checks the code/application by executing the code.
    Static testing types are review walkthroughs, in dynamic testing types are unit testing integration testing user acceptance testing.
    Static testing is a verification process whereas dynamic testing is a validation process.
    Static testing is used to prevent defects whereas dynamic testing is used to find out the defects and fix them.
    Under static testing, tester perform the statement coverage and structural testing. Equivalence partitioning and boundary value analysis techniques are performed under dynamic testing.
    Static testing is performed before compilation on the other hand dynamic testing is performed after compilation.



In a good project, both kind of testing is very important whether it is static or dynamic. It is necessary before compiling the whole project it just review it once. So that software development companies can give quality based on one good project to their clients.

Prof. Rupal Shukla
AP, MCA Department
SIRT, Bhopal

Static Testing and Dynamic Testing: What are The Differences

Register! to study in Academic Session 2024-25.