This website includes Education Information like a programming language, job interview question, general knowledge.mathematics

Education log

PageNavi Results No.

Ads

Sunday, December 1, 2019

what is black box white box testing

                         what is black box white box testing



In this Tutorial learn what is black box white box testing in software testing. and for the different between white box and black box testing visit quora page https://www.quora.com/What-is-the-difference-between-black-box-testing-and-white-box-testing




what is black box white box testing





What is Whitebox Testing :

  • white-box testing: Testing based on an analysis of the internal structure of the component or system.
  • white-box test design technique: Procedure to derive and/or select test cases based on an analysis of the internal structure of a component or system.

It is one of two parts of the "Box Testing" approach to software testing. Its counterpart, Blackbox testing, involves testing from an external or end-user type perspective. On the other hand, Whitebox testing is based on the inner workings of an application and revolves around internal testing.

The term 'white box' is used because of the internal perspective of the system. The clear box or white box or transparent box name denotes the ability to see through the software's outer shell into its inner workings.
Test cases for white box testing are derived from the design phase of the software development lifecycle. Data flow testing, control flow testing, path testing, branch testing, statement and decision coverage all these techniques used by white box testing as a guideline to create an error-free software.

There are two types Of Testing


1.whitebox Testing

2.BlackBox Testing

 For example, if a testing strategy requires all the statements of a program to be executed at least once, then we say that the testing criterion of the strategy is statement coverage. We say that a test suite is adequate with respect to a criterion if it covers all elements of the domain defined, by that criterion.

Stronger  versus weaker testing:

We have mentioned that a large number of white-box testing strategies have been proposed. It therefore becomes necessary to compare the effectiveness of different testing strategies in detecting faults. We can compare two testing strategies by determining whether one is stronger, weaker, or complementary to the other.
A white-box testing strategy is said to be stronger than another strategy, if the stronger testing strategy covers all program elements covered by the weaker testing strategy, and the stronger strategy additionally covers at least one program element that is not covered by the Whitebox Testing and BlackBox Testing.


1 comment: