“EACH AND EVERY ITEM IN SCHEMA MUST BE TESTED AT LEAST ONCE!!!”
1.1 Databases and devices
Verify the following things and find out the differences between specification and actual databases
* Database names
* Data device, log device and dump device
* Enough space allocated for each database
* Database option setting (i.e. trunc. option)
1.2 Tables, columns, column types, defaults, and rules
Verify the following things and find out the differences between specification and actual tables
* All table names
* Column names for each table
* Column types for each table (int, tinyint, varchar, char, text, datetime. specially the number of characters for char and varchar)
* Whether a column allows NULL or not
* Default definitions
* Whether a default is bound to correct table columns
* Rule definitions
* Whether a rule is bound to correct table columns
* Whether access privileges are granted to correct groups
1.3 Keys and indexes,
Verify the following things and compare them with design specification
* Primary key for each table (every table should have a primary key)
* Foreign keys
* Column data types between a foreign key column and a column in other table
* Indices, clustered or nonclustered; unique or not unique
Friday, December 7, 2007
Database Schema Testing
Posted by Amit at 12:52 AM
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment