White box testing Written by Habibov Ulug`bek



Download 12,4 Mb.
Sana13.07.2022
Hajmi12,4 Mb.
#786415
Bog'liq
DT sifati

White box testing

Written by Habibov Ulug`bek

Agenda

Software testing approach that uses inner structural and logical properties of the program for verification and deriving test data


1. What’s white box testing
  • Software testing approach that uses inner structural and logical properties of the program for verification and deriving test data
  • Also called Clear Box Testing, Glass Box Testing and Structural Testing
  • Manual Inspection, Walkthrough
  • Automatic Syntax Parser, Symbolic Execution

Pros and Cons Pros Cons Usage of more information on the tested object (than BlackBox) Expensive Inference of real Equivalence Partitioning Limited Semantic Coverage Structural Coverage Assurance

Definition! Testing based on an analysis of the internal structure of the component or system. White Box testing is also known as Clear Box testing,Glass Box testing,Transparent Box testing, and Structure-Based testing. It can be applied at all levels of SDLC. Most of the defects are found in Unit,Component &Integration levels is through White-box.


WHITE BOX TECHNIQUES:
  • Statement coverage testing
  • Decision coverage testing
  • Condition coverage testing
  • Multiple condition testing

STATEMENT COVERAGE:

STATEMENT COVERAGE:

The percentage of executable statements that have been exercised by a test suite.

He loved soccer, but feared he had no way to talk to a coach or teammates.

Statement coverage Example. READ(a)

IF a>6 THEN

B=a

END IF

PRINT(b)

Here has 100% statement code coverage!!

He recently opened a camera shop near the Louvre in Paris.

Visitors to his store, mostly tourists, speak many different languages making anything beyond a simple transaction a challenge.


Story for illustration purposes only

Decision coverage The percentage of decision outcomes that have been exercised by a test suite. 100% decision coverage implies 100%statement coverage.

Decision coverage Example

Decision coverage Example

READ (A)

READ (B)

C=A-2*B

IF C<0 THEN

PRINT "C negative"

END IF

Condition coverage

Condition coverage

In this white box testing technique try to cover 100% conditions coverage of the code , it means while testing every possible conditions in the codes executed at least once

Multiple Condition Coverage In this type of testing we use to cover each every point of system to be execute once . In the actual development process developers are make use of the combination techniques those are suitable for the software application.

Thanks your attention and time


Download 12,4 Mb.

Do'stlaringiz bilan baham:




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish