What is meant by Static Testing and Dynamic testing?, i want to know more information about this. If any body knows Ans for this Question Plz send me as early as possible.?
Total Answers and Comments: 3
Last Update: November 25, 2008 Asked by: harikanth
Hi , Below is what I think abt Static Testing and Dynamic testing
Static testing:
Testing prior to deployment.
Dynamic testing:
Testing during use without removing the component under test from its operating environment.
1: Static testing is about prevention, dynamic testing is about cure.
2: The static tools offer greater marginal benefits.
3: Static testing is many times more cost-effective than dynamic testing.
4: Static testing beats dynamic testing by a wide margin.
5: Static testing is more effective!
6: Static testing gives you comprehensive diagnostics for your code.
7: Static testing achieves 100% statement coverage in a relatively short time, while dynamic testing often often achieves less than 50% statement coverage, because dynamic testing finds bugs only in parts of the code that are actually executed.
8: Dynamic testing usually takes longer than static testing. Dynamic testing may involve running several test cases, each of which may take longer than compilation.
9: Dynamic testing finds fewer bugs than static testing.
10: Static testing can be done before compilation, while dynamic testing can take place only after compilation and linking. 11: Static testing can find all of the followings that dynamic testing cannot find: syntax errors, code that is hard to maintain, code that is hard to test, code that does not conform to coding standards, and ANSI violations.
Static testing is a form of software testing where the software isn’t
actually used.
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
This type of testing can be used by the developer who wrote the code, in
isolation. Code reviews, inspections and walkthroughs are also used.
These are verification activates. Code Reviews, inspection and walkthroughs are
few of the static testing methodologies.
This is the verification portion of Verification and Validation.
DYNAMIC TESTING:
In dynamic testing the software must actually be compiled and run.
Dynamic analysis refers to the examination of the physical response from the
system to variables that are not constant and change with time.
Some of dynamic testing methodologies include unit testing, integration testing,
system testing and acceptance testing.
These are the Validation activities. Unit Tests, Integration Tests, System Tests
and Acceptance Tests are few of the Dynamic Testing methodologies.
Dynamic testing is the validation portion of Verification and Validation.