[Database testing experience sharing] How to test the database, how to test the database?

Database
How to test the database:
1) Data correctness test: whether the data is garbled, the page is added, deleted, or modified, whether the database successfully displays the corresponding data
2) Database structure: the database configuration file modification cannot access the database and structure abnormal data Can not be displayed on the page, whether the encrypted field is displayed in cipher text
3) Data synchronization test: construct duplicate data to see whether the database can be deduplicated and whether there is a fault-tolerant processing mechanism for abnormal data (the processing method is recommended to be normal data storage success, Abnormal data failed to be stored in the database and stored separately in the abnormal data table and displayed on the page at the same time;) Whether there is a historical data processing mechanism; whether the value of the sensitive field is encrypted according to the requirements.
4: Emergencies: target database Stop service The
target database is suddenly powered off or restarted. The
source data is abnormally interrupted during the synchronization process. The
data storage fails. Is it possible to quickly roll back the data to recover the data
. Is the unlocking mechanism easy to use when the target table is locked?

The database tests I have done mainly have the following test points:

  1. I want to test whether the front-end page can be opened after closing the database
  2. Add, delete and modify the page, whether the database successfully displays the corresponding data
  3. I want to test whether the database configuration file modification can access the database
  4. I want to test whether the abnormal data can be displayed on the page
  5. Whether the encrypted field is displayed in cipher text
    6. I want to test whether the database shows abnormal logs
    7. Whether the upper and lower change fields of the table will be misaligned
    8. Fill in the non-empty field on the page is empty, whether the database can display

Guess you like

Origin blog.csdn.net/cnroot001/article/details/113094093