TechChase
Skip to content


Database testing

Database testing is a process of testing data and their relationship among the database structure.
Database testing can be categories at the following.

  • Data validity testing
  • Accessibility testing
  • data integrity testing
  • database performance testing
  • Security testing
  • Database  stored procedure testing and other database objects like functions,triggers etc.

Data validity testing

Test data is in proper format or not. For example , a database table is designed with one numeric ,one text and one date field, While inserting data , to the table data and column type should match .

Accessibility testing

Test database object accessibility for database.Before going to fire any database statements on an database object, make sure that the object is accessible or not.

Integrity testing

Testing relationship of the database objects as per the business rule.Referential integrity and all other database constraints to be tested.Test that all DML statements(Insert/updtae/delete) executed properly and transactions are successfully executed. Test the changes performed by DML statement meets business functional requirements.

Stored Procedure Test

Functionality of each stored procedure is to be tested separately as per the purpose of the procedure.All action units of the procedure to be tested separately and observed the modularity and data flow as per requirement.Before going to test stored procedures, a test case should be prepared considering the following parameters.

  • No of arguments to be passed and their types (IN,OUT,INOUT)
  • The data type of each of the arguments
  • The order of the arguments
  • Return value -if any
  • Datatype of the return value
  • Functionality of the procedure

Data type Test

It is very essential to test that input value to the stored procedure is to be in proper format.Before passing the value it is essential to validate the value with data type of the column of the table.

Data size testing

Make sure that the size of the data not exceeded the size of the column of the table . Performance of data size testing is often done only at the front end during the unit testing, but it is essential to perform it at back end separately. This ensures smooth transition while appending functionality and integrating modules as during these phases, the data is passed to the system with direct user interaction and bypassing front end validation.

Event action testing

If a trigger is a part of the procedure , then make sure that the trigger fires on the defined event .If required ,this can be tested on back-end with help of DBAs . To know about DBA related topics please visit http://www.dbazone.in/   .Test the action performed by the above stated events. Here the content of such stored procedures or scheduled actions are verified for the functionality.

Database Security testing

Testing atabase security audits, penetration tests, and vulnerability

Digg This
Reddit This
Buzz This
Vote on DZone
Share on a Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter

No related posts.

Related posts brought to you by Yet Another Related Posts Plugin.

Posted in Database Testing.

Tagged with , .

This website uses IntenseDebate comments, but they are not currently loaded because either your browser doesn't support JavaScript, or they didn't load fast enough.


0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.



Some HTML is OK

or, reply to this post via trackback.