Upload
priyanka-pradhan
View
91
Download
2
Tags:
Embed Size (px)
Citation preview
3/16/2015 Priyanka Pradhan 1
PRESENTED TO: PRESENTED BY:
Dr. Himanshu Hora Priyanka Pradhan
Chief Proctor M.tech (Software engg.)
SRMSCET Roll No.:1301409507
GRAY BOX
Testing &
CRUD Testing
Gray Box Testing
Comparison between three forms of testing techniques
Need of Gray Box Testing
Gray-box Testing Techniques
Examples of Gray Box Testing
Advantages of Gray-box Testing
Disadvantages of Gray-box Testing
Suitable Applications CRUD Testing
3/16/2015 Priyanka Pradhan 2
CONTENTS
“Gray Box Testing is a combination of White-box
Testing and Black-box Testing.” -Wikipedia
3/16/2015 Priyanka Pradhan 3
GRAY BOX TESTING
Black-box tester is unaware of internal structure of the
system.
White-box tester know internal structure of the system.
Gray-box tester partially knows the internal structure & algorithms of defining test cases.
Need overall and detailed description of documents of the application.
3/16/2015 Priyanka Pradhan 4
GRAY BOX TESTING
3/16/2015 Priyanka Pradhan 5
COMPARISON BETWEEN THREE FORMS OF
TESTING TECHNIQUES
Gray-box testing applies straight forward technique
of black-box testing.
Gray-box testing is based on requirement test case generation because it presents all the condition before program is tested.
3/16/2015 Priyanka Pradhan 6
NEED FOR GRAY-BOX
TESTING
Matrix Testing
-States the status report of the project
Regression Testing-Rerunning of the test cases if new changes are made.
Pattern Testing-Rerunning of the test cases if new changes are made.
Orthogonal Array Testing-Used as subset of all possible combination.
3/16/2015 Priyanka Pradhan 7
GRAY-BOX TESTING
TECHNIQUES
In grey box testing the tester must have knowledge
of internal data structures and algorithm, for the purpose of designing test cases. Examples of grey box testing technique are
• Architectural Model
• Unified Modeling language (UML)
• State Model (Finite State Machine)
3/16/2015 Priyanka Pradhan 8
EXAMPLES OF GRAY
BOX TESTING
Gray box testing provides combined benefits of white
box and black box testing techniques.
In gray box testing, the tester relies on interface definition and functional specification rather than source code.
In gray box testing, the tester can design excellent test scenarios.
The test is done from the user’s point of view rather than designer’s point of view.
3/16/2015 Priyanka Pradhan 9
Advantages of Gray-box
Testing
Partial code coverage: Source code or binaries are
missing because of limited access to internal or structure of the applications which results in limited access for code path traversal.
Defect Identification: In distributed applications, it is difficult to associate defect identification.
3/16/2015 Priyanka Pradhan 10
Disadvantages of Gray-box
Testing
Web Applications: The Web Applications have
distributed network or systems.
Functional or business domain testing: Functional testing is done basically from a test of user interactions which may be external systems.
3/16/2015 Priyanka Pradhan 11
SUITABLE
APPLICATIONS
CRUD testing is actually Black Box testing. CRUD
stands for (Create, Read, Update, Delete). I.e., you can Create or Add data, you can Read or Access The Data after it is saved once, or you can Deleted the data along with its relationship.
Build CRUD matrix and test all object creation, reads, updates, and deletion
3/16/2015 Priyanka Pradhan 12
CRUD TESTING
-Another name for Black Box testing.
-CRUD stands for Create, Read, Update, Delete.
-Data can be Created and added.
-Data can be Accessed or Read.
-Tester prepares CRUD matrix.
-Tests object creation, reading, update and deleting objects.
3/16/2015 Priyanka Pradhan 13
CRUD TESTING
3/16/2015 Priyanka Pradhan 14
The acronym CRUD represents:.
Database CRUD
Letter OperationMySQL
Statement
C Create INSERT
R Retrieve SELECT
U Update UPDATE
D Destroy DELETE
14
THANK YOU
3/16/2015 Priyanka Pradhan 15