From the perspective of whether to execute the program, the test methods can be divided into static test and dynamic test. Static testing includes code inspection, static structure analysis, code quality measurement, etc. Dynamic testing consists of three parts: constructing test cases, executing programs and analyzing the output results of programs.