top of page
Writer's picturePéter Földházi Jr.

Test Design Techniques

Updated: Mar 5, 2023



There are three categorizations of test design techniques. The two main are black - and white-box techniques. There's a third one called gray-box testing, which is kind of a combination of the former two. This means utilizing your knowledge of the code while essentially performing black-box testing.


Questions: What are the test design techniques?

Level of question: Junior

Answer:

  • Black-box testing

  • Gray-box testing

  • White-box testing

Questions: What's the purpose of black-box testing?

Level of question: Junior

Answer: it is a non-intrusive form of testing producing test cases designed without the knowledge of internal structure of the code. Its purpose is to provide an overall picture on the quality of the system under test on multiple levels of testing.


Questions: What are some of the benefits of black-box testing?

Level of question: Experienced

Answer:

  • Can be performed on multiple test levels

  • Depending on the system under test and the scope of testing, many or majority of the black-box test cases can be executed by people without coding knowledge

Questions: List all the black-box test design techniques.

Level of question: Experienced

Answer:

Questions: What's the purpose of white-box testing?

Level of question: Junior

Answer: it is to validate the structure of the code instead of verifying its functionality.


Questions: What are some of the benefits of white-box testing?

Level of question: Experienced

Answer:

  • Helps improve code quality

  • Introducing more white-box testing helps achieve shift-left testing and opens up opportunity to integrate to CI/CD pipelines

  • Can be leveraged not just in unit, but in component and system integration levels as well

Questions: List all the white-box test design techniques.

Level of question: Experienced

Answer:

44 views0 comments

Recent Posts

See All

Comments


bottom of page