Monday, September 30, 2013

Dynamic Testing

Dynamic testing may begin before the program is 100% complete in order to test particular sections of code (modules or discrete functions). Typical techniques for this are either using stubs/drivers or execution from a debugger environment. For example, spreadsheet programs are, by their very nature, tested to a large extent interactively ("on the fly"), with results displayed immediately after each calculation or text manipulation.      

Dynamic testing (or dynamic analysis) is a term used in software engineering to describe the testing of the dynamic behavior of code. That is, dynamic analysis refers to the examination of the physical response from the system to variables that are not constant and change with time. In dynamic testing the software must actually be compiled and run. It involves working with the software, giving input values and checking if the output is as expected by executing specific test cases which can be done manually or with the use of an automated process. This is in contrast to static testing. Unit tests, integration tests, system tests and acceptance tests utilize dynamic testing.         

Dynamic testing is a method of assessing the feasibility of a software program by giving input and examining output (I/O). The dynamic method requires that the code be compiled and run. The alternative method of software testing, static testing, does not involve program execution but an examination of the code and associated documents.
Types of dynamic testing include unit testing, integration testing, system testing and acceptance testing.


Static Testing vs Dynamic Testing


S.No
Static Testing
Dynamic Testing
1
Static Testing is a form of software testing. Where the software isn’t actually used.
In the dynamic testing the software must actually be completed and run.
2
It is generally not detailed testing. But checks mainly for the sanity of the code, algorithm, or document. It is primarily syntax checking of the code or and manually reading of the code or document to find errors.
Dynamic analysis refers to the examination of the physical response from the system to variables that are not constant and change with the time
3
This type of testing can be used by the developer
Who wrote the code, in isolation, Code reviews, inspections and walkthroughs are also used.
Some of the dynamic testing methodologies include unit testing, integration testing, system testing and acceptance testing.
4
This is a verification portion of Verification and Validation
Dynamic testing is the validation portion of Verification and Validation
5
These are verification activities, Code Reviews, inspection and walkthroughs are few of the static testing methodologies.
These are validation activities, Unit Tests, Integration Tests System Tests and Acceptance Tests are few of the Dynamic Testing  methodologies

No comments:

Post a Comment