gray box testing

10
Gray Box Testing Gray Box Testing -Dasun Eranthika

Upload: dasun-eranthika

Post on 26-May-2015

3.135 views

Category:

Technology


1 download

DESCRIPTION

What is Gray Box Testing

TRANSCRIPT

Page 1: Gray box testing

Gray Box TestingGray Box Testing-Dasun Eranthika

Page 2: Gray box testing

OutlineOutline

What is Gray Box Testing?Gray-Box TestersWhat we need for Gray Box TestingWhat we need for Gray box Testing?Gray Box Testing TechniquesAdvantagesDisadvantagesSuitable Applications

6/21/2012 2Gray Box Testing | Dasun Eranthika

Page 3: Gray box testing

What is Gray Box Testing?What is Gray Box Testing?

“Gray Box Testing is a combination of White-box Testing and Black-box Testing.”

-Wikipedia

3Gray Box Testing | Dasun Eranthika 6/21/2012

Page 4: Gray box testing

Gray-box TestersGray-box Testers

Black-box tester is unaware if internal structure of the system.

White-box tester is 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.

4Gray Box Testing | Dasun Eranthika 6/21/2012

Page 5: Gray box testing

What we need for Gray-box What we need for Gray-box TestingTesting

Gray-box testing is applies straight forward technique of black-box testing and influences it against the code targeted systems in white-box testing.

Gray-box testing is based on requirement test case generation because it presets all the condition before program is tested by using assertion method.

5Gray Box Testing | Dasun Eranthika 6/21/2012

Page 6: Gray box testing

Gray-box Testing Gray-box Testing TechniquesTechniques

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.

6Gray Box Testing | Dasun Eranthika 6/21/2012

Page 7: Gray box testing

Advantages of Gray-box Advantages of Gray-box TestingTesting

Offers combined benefits: It serves advantages from both Black-box and White-box Testing.

Non Intrusive: Based on functional specification, architectural view whereas not on source code or binaries which makes it invasive too.

Intelligent Test Authoring: Tester handles intelligent test scenario. Ex: data type handling, communication protocol, exception handling.

Unbiased Testing: Gray-box testing maintains boundary for testing between tester and developer.

7Gray Box Testing | Dasun Eranthika 6/21/2012

Page 8: Gray box testing

Disadvantages of Gray-box Disadvantages of Gray-box TestingTesting

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.

8Gray Box Testing | Dasun Eranthika 6/21/2012

Page 9: Gray box testing

Suitable ApplicationsSuitable Applications

Web Applications: The Web Applications have distributed network or systems.

Functional or business domain testing: Functional testing is done basically a test of user interactions with may be external systems.

9Gray Box Testing | Dasun Eranthika 6/21/2012

Page 10: Gray box testing

Thank you.!Thank you.!

Gray Box Testing | Dasun Eranthika