DB Testing Basics
DB Testing Basics
-Anna
Given a application, what activities are termed as DB testing?
What are the different application types in the context of DB
Testing?
What is the impact if we do/ not do a DB Testing?
What testing type this DB testing falls under?
UI application that has DB for its storage
- Complexity of storage? [simple tables?]
UI application that has no dedicated DB
UI application that has DB and also some other file
storage systems
- In case of interaction b/w DB & external systems are alone
considered
UI application that has DB but the source is an external
system
NO UI but only has DB
Application Types: Part 1
UI application that has no dedicated DB
UI application that has DB for its storage
Unknowingly DB testing are executed from functional
test cases.. How?
Check if the application form is submitted successfully - Here DB insert operation
are checked
Check if the modified form is submitted successfully – Here DB update operation is
checked
Check if the form is deleted successfully – Here DB delete operation is checked
Ex:prevent changes (e.g. prevent an invoice from being changed after it's been mailed out)
log changes (e.g. keep a copy of the old data)
audit changes (e.g. keep a log of the users and roles involved in changes)
PART 1
Pre-system engagements in terms of Schema review
Post system engagements by increasing test coverage
This Trigger here will be Triggered , when ever the contact is modified.
So that the modified changes in the Contacts Master table will be reflected in the User master
table. Providing data integrity between the two modules both in the front end and as well in
the back end.
Guidelines to perform each of the DB testing methods
Simple queries – overview with examples
Data warehouse & ETL concepts with basic test
scenarios understanding