Trusted answers to developer questions
Trusted Answers to Developer Questions

Related Tags

testing

What is the basis test set?

Ayesha Naeem

Grokking Modern System Design Interview for Engineers & Managers

Ace your System Design Interview and take your career to the next level. Learn to handle the design of applications like Netflix, Quora, Facebook, Uber, and many more in a 45-min interview. Learn the RESHADED framework for architecting web-scale applications by determining requirements, constraints, and assumptions before diving into a step-by-step design process.

The basis test set is a series of tests done on the internal structures of a component in software.

The basis test set is normally formulated by the developers who perform unit testing, and they employ various techniques to test the internal structure of the component.

Techniques

  • Branch coverage: Ensures that all the reachable code is executed at least once.
  • Path coverage: Ensures all linearly independent paths of a program are executed at least once.
  • Statement coverage: Ensures all the statements in the code are executed at least once.

When to perform the basis test set

Developers use the basis test set after testing the functionality of the code to test each line of the code using path testing, statement testing, and branch testing.

RELATED TAGS

testing

CONTRIBUTOR

Ayesha Naeem
Copyright ©2022 Educative, Inc. All rights reserved

Grokking Modern System Design Interview for Engineers & Managers

Ace your System Design Interview and take your career to the next level. Learn to handle the design of applications like Netflix, Quora, Facebook, Uber, and many more in a 45-min interview. Learn the RESHADED framework for architecting web-scale applications by determining requirements, constraints, and assumptions before diving into a step-by-step design process.

Keep Exploring