Take a look, what common problems will you encounter when interviewing and testing development positions?

1. What are the commonly used test methods for black box testing and white box testing? for example.

Answer: White-box testing: The method of compiling coverage mainly includes sentence coverage, judgment coverage, condition coverage, judgment condition coverage, combined condition coverage, and path coverage.

Black box testing: equivalence classification, boundary value analysis, error inference method, etc.

2. The concept of static testing and dynamic testing.

Answer: The static method does not run the program under test itself, and only checks the correctness of the program by analyzing and checking the syntax, structure, process, interface, etc. of the source program. Do structural analysis, flow chart analysis, and symbolic execution of requirements specifications, software design specifications, and source programs to find errors. The static method finds out the shortcomings and suspicious points through the analysis of the static characteristics of the program.

The dynamic method is to run the program under test, check the difference between the running result and the expected result, and analyze the performance such as running efficiency and robustness. The so-called dynamic test of the software is to verify the dynamic behavior of the software and the correctness of the running result by running the software. Sex.

According to the stage and role of dynamic testing in the software development process, dynamic testing can be divided into the following steps: 1, unit testing 2, integration testing 3, system testing 4, acceptance testing 5, regression testing.

3. There are several equivalence classes and what are their meanings?

Answer: Equivalence classes are divided into the following categories:

Effective equivalence class and invalid equivalence class, understand the specific meaning by yourself

4. The advantages and disadvantages of equivalence class division. (Just answer some experience in the process of use)

Answer: Advantages: Considering various situations in a single data field, avoiding the incompleteness and instability of blindly or randomly selected input data, and effectively controlling the number of test designs.

Disadvantages: Insufficient consideration of the combination situation, in many cases improper selection of use cases will cause problems (such as boundaries).

5. The advantages and disadvantages of the boundary value test method.

Answer: Long-term testing experience tells us that a large number of errors occur on the boundary between input and output ranges. Therefore, by designing test cases for various boundary conditions, more errors can be detected.

However, the boundary value analysis method, like the equivalence class division method, does not consider the combination of inputs, so it is necessary to further combine other test case design methods.

6. Determine the conditions for the suspension of the test activity

Answer: Analyze from the following perspectives, including: old bugs with no new bugs and high severity have been fixed; bugs converged; a certain level of bugs is below a certain percentage; time is exhausted; and a specific coverage rate is met.

7. Common test models?

Answer V model, W model, H model, X model, pre-model, etc.


END

Official account: Programmer Erhei, get software testing resources (interview questions, PDF documents, video tutorials)

Good things should be shared with friends

Guess you like

Origin blog.csdn.net/m0_53918927/article/details/113561139