|
Answer» This is a very generic question. I would like to describe my generic DATABASE testing method as well as stored procedure testing methods.
Testing Databases:
Table Column data type and data value validation.
Index implementation and performance improvement.
Constraints and Rules should be validated for data integrity.
Application field length and type should match the corresponding database field.
Database objects like stored procedures, triggers, functions should be tested USING different kinds of input values and checking the expected output variables.
Testing Stored Procedures:
Understand the requirements in terms of Business Logic.
CHECK if the code follows all the coding standards.
COMPARE the fields’ requirements of application to the fields RETRIEVED by a stored procedure. They must match.
Repeatedly run the stored procedures several times with different input parameters and then compare the output with the expected results.
Pass invalid input parameters and see if a stored procedure has good error handling. This is a very generic question. I would like to describe my generic database testing method as well as stored procedure testing methods. Testing Databases: Table Column data type and data value validation.
Index implementation and performance improvement.
Constraints and Rules should be validated for data integrity.
Application field length and type should match the corresponding database field.
Database objects like stored procedures, triggers, functions should be tested using different kinds of input values and checking the expected output variables. Testing Stored Procedures: Understand the requirements in terms of Business Logic.
Check if the code follows all the coding standards.
Compare the fields’ requirements of application to the fields retrieved by a stored procedure. They must match.
Repeatedly run the stored procedures several times with different input parameters and then compare the output with the expected results.
Pass invalid input parameters and see if a stored procedure has good error handling.
|