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:
In static Testing there is no need to execute code. Tester who has to do this kind of testing, only read the code and find out the mistakes. Mainly Documentation testing and review is the part of static testing. Now the question is which type of document prepare during project making. So according to software development life cycle (SDLC), there are two documents prepared in 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 third phase of SDLC is coding. Coding phase contain both dynamic and static testing. The coding phase is static until it is compiling and after run it converted into dynamic. Static testing is called as 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 client project. 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 test the application without executing the code whereas in dynamic testing tester checks the code/application by executing the code.
Static testing types are review walkthrough, in dynamic testing types are unit testing integration testing user acceptance testing.
Static testing is verification process whereas dynamic testing is validation process.
Static testing is used to prevent the defect whereas dynamic testing is used to find out the defects and fix it.
Under static testing tester perform the statement coverage and structural testing. Equivalence partitioning and boundary value analysis techniques are perform 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 once. So that software development companies can gives quality based one good project to their clients.
Prof. Rupal Shukla
AP, MCA Department