15
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 T esting & CRUD Testing

GrayBox Testing and Crud Testing By: Er. Priyanka Pradhan

Embed Size (px)

Citation preview

Page 1: GrayBox Testing and Crud Testing By: Er. Priyanka Pradhan

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

Page 2: GrayBox Testing and Crud Testing By: Er. Priyanka Pradhan

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

Page 3: GrayBox Testing and Crud Testing By: Er. Priyanka Pradhan

“Gray Box Testing is a combination of White-box

Testing and Black-box Testing.” -Wikipedia

3/16/2015 Priyanka Pradhan 3

GRAY BOX TESTING

Page 4: GrayBox Testing and Crud Testing By: Er. Priyanka Pradhan

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

Page 5: GrayBox Testing and Crud Testing By: Er. Priyanka Pradhan

3/16/2015 Priyanka Pradhan 5

COMPARISON BETWEEN THREE FORMS OF

TESTING TECHNIQUES

Page 6: GrayBox Testing and Crud Testing By: Er. Priyanka Pradhan

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

Page 7: GrayBox Testing and Crud Testing By: Er. Priyanka Pradhan

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

Page 8: GrayBox Testing and Crud Testing By: Er. Priyanka Pradhan

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

Page 9: GrayBox Testing and Crud Testing By: Er. Priyanka Pradhan

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

Page 10: GrayBox Testing and Crud Testing By: Er. Priyanka Pradhan

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

Page 11: GrayBox Testing and Crud Testing By: Er. Priyanka Pradhan

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

Page 12: GrayBox Testing and Crud Testing By: Er. Priyanka Pradhan

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

Page 13: GrayBox Testing and Crud Testing By: Er. Priyanka Pradhan

-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

Page 14: GrayBox Testing and Crud Testing By: Er. Priyanka Pradhan

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

Page 15: GrayBox Testing and Crud Testing By: Er. Priyanka Pradhan

THANK YOU

3/16/2015 Priyanka Pradhan 15