When testing software, a wide range of philosophies and methodologies have been developed over the years. Some people write the entire program and then attempt to manually check every user action to verify the results. Others write their tests first (knowing they will fail), then write the code to make the tests pass. We will discuss some of the more common testing methods in this section.
Testing techniques
Static versus dynamic tests
Static testing generally comprises a review of the code without trying to run it. This includes actually looking through the code, an action similar to proofreading, as well as using tools such as text editors or compilers to check syntax and logic flow.
Dynamic tests run the program, or portions...