Describe static and dynamic testing briefly…
there are many online sources available the common definition is
testing that requires the execution of the test item,
testing in which a test item is examined against a set of quality or other criteria without code being executed
In simple terms, static testing is when you try to find issues without actually compiling the code. Eg : static analysis in which you check for invalid syntax, code smells, etc
Code reviews, document reviews, etc also are static testing as they don't execute any code
WHile dynamic test are test that conducted by compilling and running the code, in this type of testing you get actuall runtime bugs.
Eg UI tests, API tests , etc where you deploy the actual service be fore you could tesst it
Usually static testing refers to the risk evaluation that doesn't involve exploring the product in action. For software products, it may include code review (which may include automated style checking), specification reviews, etc.
Dynamic testing usually refers to risk evaluation through the exploration of the product in action. For software products, it usually includes running the code itself in certain situations and evaluating its execution.