What are the three techniques used for testing? (2024)

What are the three techniques used for testing? (1)

There are three different testing techniques available. They include white-box testing, black-box testing, and grey-box testing.Let’s discuss each of these techniques.

White-box testing

This technique involves accessing the code to the core. White-box testing is also called open box testing, clear box testing, and glass box testing.

Several techniques are involved during white-box testing:

  • Statement coverage: In this coverage, all statements of the program are accessed.
  • Branch coverage: In this coverage, tests are performed serially to make sure each branch is tested.
  • Path coverage: Here, all the paths are tested for all statements and branches.

Black-box testing

This testing is carried out to test the functionality of the application and to ensure that it meets requirements. Unlike white-box testing, it does not focus on the code, but rather the application functionality.

Black-box techniques include:

  • Boundary value analysis
  • Equivalence partitioning
  • Decision tables
  • Domain tests, etc.

Grey-box testing

This method of testing is performed when you don’t have knowledge about the whole structure of the application.This means that testing is done with limited knowledge about the application. Most times, it is done like black-box testing. But in critical areas of the application, white-box testing is performed.Grey-box testing is the combination of white-box and black-box testing.

CONTRIBUTOR

What are the three techniques used for testing? (2)Theodore Kelechukwu Onyejiaku

What are the three techniques used for testing? (2024)
Top Articles
Latest Posts
Article information

Author: Ms. Lucile Johns

Last Updated:

Views: 6637

Rating: 4 / 5 (41 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Ms. Lucile Johns

Birthday: 1999-11-16

Address: Suite 237 56046 Walsh Coves, West Enid, VT 46557

Phone: +59115435987187

Job: Education Supervisor

Hobby: Genealogy, Stone skipping, Skydiving, Nordic skating, Couponing, Coloring, Gardening

Introduction: My name is Ms. Lucile Johns, I am a successful, friendly, friendly, homely, adventurous, handsome, delightful person who loves writing and wants to share my knowledge and understanding with you.