what is Branch Coverage Testing?

Every software program works with some set of branches in its code to perform certain functions.100% branch coverage means that test data will ensure that every branchsh of a program is executed at least once during testing.

For example, consider the following code:
if (a >= b)then
{
printf(")
}
else
{
printf(")
}
 
For this code the brach test will be taken according to the decisions and its branches like if the condition is passed it will lead to one brach otherwise it leads to another brach.

Comments

Popular posts from this blog

What is Prototype Model?

How to Build and Grow an Effective Email List in 2024?

What is State or Graph based Testing?