Black Box Testing versus White Box Testing

Berkay AKÇAY
Dec 18, 2016

--

Black box testing is a testing strategy based solely on requirements and specifications. Black box testing requires no knowledge of internal paths, structures, or implementation of the software being tested.

Typical black-box test design techniques include:

  • Decision table testing
  • All-pairs testing
  • Equivalence partitioning
  • Boundary value analysis
  • Cause-effect graph
  • Error guessing
  • State transition testing
  • Use case testing
  • User story testing
  • Domain analysis
  • Combining technique

White box testing is a testing strategy based on internal paths, code structures, and implementation of the software being tested. White box testing generally requires detailed programming skills.

White-box test design techniques include the following code coverage criteria:

  • Control flow testing
  • Data flow testing
  • Branch testing
  • Statement coverage
  • Decision coverage
  • Modified condition/decision coverage
  • Prime path testing
  • Path testing

Originally published at http://berkayakcay.com on December 18, 2016.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Berkay AKÇAY
Berkay AKÇAY

Written by Berkay AKÇAY

Snippet of development - SWE @deliveryhero

No responses yet

Write a response