Agenda
What is Database Testing
Database Testing Architecture
Stages involved in Database Testing
Fundamentals of Database Testing
Components of the database
Introduction to SQL
What is Database testing
A database is a collection of files kept together within a computer
application that can be easily accessed and retrieved. A common database
software is MS Access.
Database Testing includes Testing for Data Integrity , Data Validity , Data
manipulation
ACID Properties
ACID (Atomicity, Consistency, Isolation, Durability) is a set of
properties that guarantee that the database transactions are processed
reliably.
Atomicity
Atomicity requires that each transaction is "all or nothing": if one part
of the transaction fails, the entire transaction fails, and the database
state is left unchanged.
The entire transaction must be cancelled and the affected rows should be
rolled back to their pre-transaction state.
ACID Properties
Isolation
Every transaction has a well-defined boundary, that is, it is isolated
from another transaction.
Data modifications made by one transaction must be isolated from the
data modifications made by all other transactions.
A transaction sees data in the state it was in before another
concurrent transaction modified it, or it sees the data after the
transaction has completed, but it doesn’t see an intermediate state
Front
End
User
Interface
Database
Backup DB
Fundamentals of Database Testing
Applications are used by end users and they enter a group of raw data
Have to find out the back end tables used, joins used between the
tables, cursors used (if any), triggers used(if any), stored procedures
used (if any), input parameter’s used and output parameters used for
developing that requirement.