Database Testing Checklist
Database Testing Checklist
Testing checklists
OVERVIEW
There are many aspects that are involved in a testing process, this article will focus on the Checklist aspect that is a fundamental part
of every software testing process.
As a specialist tester I become familiar with the fact that the concept of checklists can be an excellent and effective way of ensuring
that the testing project will be executed in a way that all the user requirements will be reflected in an appropriate test cases.
Checklists can ensure that all the client requirements will be covered in the testing process.
Checklists can ensure that the software is tested with the needed coverage.
Checklists can increase the coordination between different teams that involved in the testing process.
CHECKLIST FOR DATABASE TESTING
Database testing is used to test the main aspects of the integration between our tested software and the chosen database platform
(SQL, Oracle Etc.). The main aspects that we want to validate are:
Synchronization between the database and the values displayed in our client/web.
Database performance.
Data maintenance.
Tables structure.
Data recovery.
Data integrity.
Etc.
I selected few criteria for tests, every criteria contain few examples that may help you to perform a better database testing.
Validate that all indexes are created when it can increase the system performance.
Validate that appropriate events are created ad sent to the EventVwr/trace log.
Validate that DB tables are created with informative and reasonable names.
Try to work when the storage is 0 and the e database is in running state.
Perform your tests on different versions (SQL 2005, 2008, 2012 etc.).
Check that each data item is located under the relevant column.
Validate that all tables are created with logical structure (Primary, foreign keys.)
Validate that Allow Null condition is set when you need to allow it.
Validate that mandatory fields are created, this issue is very important when you work with multiple tables that depends on
each other.
Procedures tests
Validate that the data the affected by the procedure is changed as expected.
Validate that all procedures are triggered when they supposed to run.
Validate that all procedures are created with the relevant code.
Try to insert NULL values on fields that doesnt supposed to receive it.
Validate that the user receives the current result when pulling data.
Validate that the data integrity is not affected when the Apply or Submit transactions are failing during the process.
Validate that the Roll Back option is available when the DB transaction is failed in the middle.