Current location - Training Enrollment Network - Books and materials - How to write test cases?
How to write test cases?
I have some problems and solutions that should be paid attention to when testing, as a way to attract jade.

1. How to find as many problems as possible in the test?

The correctness of pages, processes, functions, data and queries can be detected by use case testing and submitted to developers for solution. Some functions need to be tested repeatedly, such as the correctness of processes and data.

2. How to test the performance problem?

Performance testing is divided into application software performance, database performance, server performance and network performance.

The performance test of a function can be tested at the same time as other related function tests.

The overall functional testing of software needs to be solved.

3. How to test the validity of the data?

Data validity test is usually to do some business first, and then check it by querying tables and databases. When an error occurs, it is usually necessary to check two aspects, on the one hand, to ensure that the location stored in the database is correct, on the other hand, to ensure that the query statement is correct.

4. Some hidden error tests

For example, database deadlock and software dead loop, some of which can be verified by data testing.

On the other hand, to deal with sudden problems, there must be solutions after the problems appear.