Advertisement
ruhul0

Untitled

Dec 9th, 2018
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.00 KB | None | 0 0
  1. 1. Database testing includes performing data validity, data integrity testing, performance check related to database and testing of procedures, triggers and functions in the database. (Beaulieu, 2009)
  2. Let's say an application that track daily transaction details of user and store the detail data in database. From database testing the following thing should be performed-
  3. Transaction information should be store in database and it should provide exact and correct information to the user.
  4. Information should not be lost when it storing data into database.
  5. It should ignore the incomplete operation and should be stop by the apption and only completed transaction should be save in database
  6. No unapproved or unauthorized access should be stopped and access only authorized to database to maintain.
  7. Database testing is formed of three categories (Beaulieu, 2009):
  8. Structural database testing
  9. Functional testing
  10. Nonfunctional testing
  11. Structural database testing includes testing the columns and the tables, the views and the procedures. All thest done on components that even cannot be changed by the end users are also also includes in this this. From end user point of view the functional testing would be done. Mainly there are two types of testing that are involved: White box testing and Black box testing. Black box testing includes the testing of the functionality of the database and White box testing done about the structure of the database. Nonfunctional testing inclueds the testing of performing load, stress testing, checking theminimum system requirements to meet the specification of business, finding risk and optimization of the performance of database. The following tests will be performed on the above database:
  12. Field size validation
  13. Null values
  14. Check constraints.
  15. Referential integrity (Beaulieu, 2009)
  16. Field size validation to check the length of data constraints for field size, in the departments table a record will be inserted with different values for dept_no attribute than the format used:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement