What are the commonly used software testing methods?

Software testing is the last link in a complete project, but it is also a very important link. Through software testing, we can know whether a software program meets the requirements and standards.

unit test/module test

picture

Unit testing is to verify the correctness of software components.

Integration Testing

The main purpose of integration testing is to check whether the interfaces between software units are correct.

picture

System test

System testing is to test the function, performance and the hardware and software environment in which the software runs.

picture

Regression Testing

Regression testing is to retest after modifying the old code to confirm that the modification is correct. Multiple regression tests are performed at each stage of software development, and the larger the project system, the greater the cost of regression testing.

smoke test

Smoke testing originated in the hardware industry and refers to powering up the device directly after a change or repair to a piece of hardware or a hardware component. If there is no smoke, the test passes.

picture

Acceptance Test

Acceptance testing is the last testing operation before deploying software, also known as delivery testing.

picture

static test

Static testing refers to not running the program under test itself, but only checking the correctness of the program by analyzing or checking the syntax, structure, process, interface, etc. of the source program. Perform structural analysis, flowchart analysis, and symbolic execution on requirements specifications, software design specifications, and source programs to find errors.

Dynamic Testing

Dynamic testing refers to checking the difference between the running result and the expected result by running the program under test, and analyzing performance such as running efficiency, correctness and robustness. Most software testing methods belong to dynamic testing.

manual testing

Manually inputting test cases by humans and observing the results corresponds to machine testing, which is a primitive but indispensable step.

Advantages: Automation cannot replace exploratory and divergent thinking.

Disadvantages: slow execution efficiency, large volume and error-prone.

automated test

Run a system or application under preset conditions, including normal and abnormal conditions, and evaluate the results.

Automated test execution steps:

1. The function test is completed, and the version is basically stable

2. According to the characteristics of the project, select the automation tool and build the environment

3. Extract the test cases of manual testing and convert them into automated testing cases

4. Realize automatic construction input through tools and codes, and automatically detect whether the output results meet expectations

5. Generate automatic test report

6. Continuous improvement, script optimization

business test

Business testing is the process of connecting the various modules of the system to run and simulating the actual workflow of the user. Business testing requires testers to have a special understanding of the needs of the project.

For example, check email: log in to the website→enter user name→login with password→enter the inbox→find the email→click to open→check→close the email→exit the mailbox→close the website

UI/interface testing

Interface testing is also called UI testing. Interface testing is to test whether the layout of user interface functional modules is reasonable, whether the overall style is consistent, and whether the position of each control is in line with customer usage habits.

In addition, it is necessary to test the convenience of interface operation, simple and understandable navigation, usability of page elements, whether there are typos in the interface, whether the naming is unified, and whether the page is beautiful, etc.

document test

As the name implies, tests are performed on the document. It is not very technical and belongs to static testing.

compatibility test

The same website looks different on different browsers. Compatibility refers to whether software can work well with each other.

usability test

Ease of use is a concentrated expression of the adaptability, functionality and effectiveness of the interaction. For example, the function of making calls on a mobile phone is not placed on the home page, but placed in a directory, which can only be found after moving down three or four levels, which does not meet the ease of use.

Performance Testing

Performance testing is to check whether the system meets the performance specified in the requirements specification. It is usually manifested in these aspects: accurate measurement of resource utilization, execution interval, log events (such as interruption, error reporting), response time, TPS, auxiliary storage area, processing accuracy, etc. Monitoring.

User Experience Testing

User experience testing belongs to the category of ergonomics, which refers to designing things for daily use to be practical and user-friendly.

installation test

Test program installation and uninstallation. For example, app installation and uninstallation.

Safety test

Security testing is a relatively independent field that requires more expertise.

picture

memory leak test

picture

Finally: The complete software testing video tutorial below has been sorted out and uploaded, and friends who need it can get it by themselves [Guaranteed 100% free]

Software Testing Interview Documentation

We must study to find a high-paying job. The following interview questions are the latest interview materials from first-tier Internet companies such as Ali, Tencent, and Byte, and some Byte bosses have given authoritative answers. Finish this set The interview materials believe that everyone can find a satisfactory job.

Guess you like

Origin blog.csdn.net/weixin_50829653/article/details/132366305
Recommended