Database Testing Gourav Mehta (Associate QA Engineer)

Slides:



Advertisements
Similar presentations
Testing Relational Database
Advertisements

Software Quality Assurance Plan
QuEdge Testing Process Delivering Global Solutions.
POSTGRESQL DUNGEON WITH TABLE INHERITANCE AND CONSTRAINTS Edel Sherratt.
MWD1001 Website Production Using JavaScript with Forms.
System Integration Verification and Validation
Testing and Quality Assurance
©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 32 Slide 1 Aspect-oriented Software Development.
Integration testing Satish Mishra
Informatics 43 – April 30, What is a test case? An input to a system, and the correct output. An “input” may be complex. Example: – What is an input.
Copyright © 2006 Software Quality Research Laboratory DANSE Software Quality Assurance Tom Swain Software Quality Research Laboratory University of Tennessee.
Illinois Institute of Technology
Chapter 1 Program Design
1 Case Study: Starting the Student Registration System Chapter 3.
©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 32 Slide 1 Aspect-oriented Software Development 2.
Software Testing Verification and validation planning Software inspections Software Inspection vs. Testing Automated static analysis Cleanroom software.
WEB FORM DESIGN. Creating forms for a web page For your web project you have to design a form for inclusion on your web site (the form information should.
Database testing Prepared by Saurabh sinha. Database testing mainly focus on: Data integrity test Data integrity test Stored procedures test Stored procedures.
© 2012 IBM Corporation Rational Insight | Back to Basis Series Chao Zhang Unit Testing.
Let us start from the V-Model Verification Phases Requirements analysis System Design Architecture Design Module Design Coding Validation phases Unit.
Introduction to Graphical User Interfaces. Objectives * Students should understand what a procedural program is. * Students should understand what an.
Testing Especially Unit Testing. V-model Wikipedia:
SENG521 (Fall SENG 521 Software Reliability & Testing Software Product & process Improvement using ISO (Part 3d) Department.
Lecture 7 Integrity & Veracity UFCE8K-15-M: Data Management.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 22 Slide 1 Software Verification, Validation and Testing.
® IBM Software Group © 2006 IBM Corporation JSF Progress Bar This Learning Module shows how to integrate EGL/JSF functionality into a run-time progress.
Software Construction Lecture 18 Software Testing.
Release Management Configuration management. Release Management Goal Coordinate the processes through the project development life cycle Ensure the.
1 Database Design and Development: A Visual Approach © 2006 Prentice Hall Chapter 8 DATABASE DESIGN AND DEVELOPMENT: A VISUAL APPROACH Chapter 8 Creating.
1 Phase Implementation. Janice Regan, Overview of Implementation phase Create Class Skeletons Define Implementation Plan (+ determine subphases)
Software Engineering1  Verification: The software should conform to its specification  Validation: The software should do what the user really requires.
Software Engineering Issues Software Engineering Concepts System Specifications Procedural Design Object-Oriented Design System Testing.
WEB FORM DESIGN. Creating forms for a web page For your web project you have to design a form for inclusion on your web site (the form information should.
Software Quality Assurance and Testing Fazal Rehman Shamil.
HNDIT23082 Lecture 09:Software Testing. Validations and Verification Validation and verification ( V & V ) is the name given to the checking and analysis.
Quick Test Professional 9.2. Testing Process Preparing to Record Recording Enhancing a Test Debugging Running the Test and Analyzing the Results Reporting.
A Presentation Presentation On JSP On JSP & Online Shopping Cart Online Shopping Cart.
7.5 Using Stored-Procedure and Triggers NAME MATRIC NUM GROUP Muhammad Azwan Bin Khairul Anwar CS2305A Muhammad Faiz Bin Badrol Shah CS2305B.
Test. V-model Wikipedia:
Section 2.4 Software Testing. 2.4 Software Testing The process of executing a program with data sets designed to discover errors Software testing is one.
Programming Right from the Start with Visual Basic .NET 1/e
Configuration Management
Software Testing.
PREPARED BY G.VIJAYA KUMAR ASST.PROFESSOR
Software Engineering (CSI 321)
Approaches to ---Testing Software
Software Verification and Validation
SOFTWARE TESTING OVERVIEW
Topic for Presentaion-2
Different Types of Testing
Quality Management Perfectqaservices.
About the Presentations
Software engineering – 1
Teaching slides Chapter 9.
UNIT-4 BLACKBOX AND WHITEBOX TESTING
To submit invoices; select
Engineering Processes
Lecture 09:Software Testing
Higher-Level Testing and Integration Testing
CS240: Advanced Programming Concepts
Informatics 43 – April 28, 2016.
Software requirements
Serpil TOK, Zeki BAYRAM. Eastern MediterraneanUniversity Famagusta
Unit 1 :Basic Of Software Testing
LESSON 01 Hands-on Training Execution
Software Development Chapter 1.
PSS0 Configuration Management,
CPS125.
UNIT-4 BLACKBOX AND WHITEBOX TESTING
Going Paperless with E-Signature Documents Powered by Adobe Sign
Presentation transcript:

Database Testing Gourav Mehta (Associate QA Engineer)

Why Database Testing ? Data is an Important Corporate Asset. Mission-critical business functionality is implemented in RDBMSs. Current Approaches are not sufficient (Visual inspect by developers or formal test at the end of lifecycle) Testing provides the concrete feedback required to identify defects. Support for evolutionary development: How Data Activities Fit In

Database Updates Database Testing mainly includes on following: Data Integrity Test. Stored Procedure Test Type Test Data Size Test Event Driven Item Test Input Item Verification

Data Integrity Test Data integrity means that the data in the database is complete and consistent both at its creation and at all times during use. Once a value undergoes any of the actions(Update,/Delete/Insert) the database should be verified for the changes performed on related entities. Data integrity falls on following categories: Entity integrity Domain integrity

Data Integrity Test Referential Integrity User-Defined Integrity

Store Procedure Test Every Stored Procedure is to be tested separately for its functionality (Based on Separate functions it performs). Stored procedures need to be broken up into actions Items based on Functions and then Each action needs to be tested separately as the results of complete Stored procedure. Execution may differ from the results obtained by partial execution. This also helps in validating the modularity (White Box).

Store Procedure Test In the case of stored procedures, to come up with test cases one can consider the following things: The Numbers of arguments being passed. The data type of each of the arguments being passed. The order of arguments being passed. The return type The data type of return type. Based on these, you can write both Positive and Negative test cases.

Type Test This test is performed to verify that the data types used by the DBA are the same as expected by developer. Often the data chosen by developers are not the same as suggested by DBA especially for the fields like: Phone (Number/Text) Description (Large text) This type of mismatch does not effect the functionality and execution of code. But prove to be very COSTLY during the updating or enhancing the functionality.

Data Size Test Performance of Data size testing is done only at the front end during the unit testing, but it is essential to perform it back end separately. This ensures smooth transition while appending the 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 Driven Item Test Event Driven Actions (Triggers or Schedules Actions) needs to be tested on two parameters: A) Events that triggers these actions: Here QA needs to check the events on which any of the trigger can get fired/executed. This testing can be done with the help of DBA also. B) Actions performed by the above stated events. Here the contents of stored procedure are verified for the functionality.

Input Item Verification This is the process of verification of the item items. This has to be performed for database testing of the web based application. Often it is seen that the input items (Textbox/ RTB/ Combination Box/ActiveX Controls) are tested for validation only at front end (Screen testing) but these are again to be tested with junk character values to confirm that they don't push in such characters which the databases Often misrepresent or replace with other characters.

Thanks QA… Your Feedback is Always Welcome.