26.3k views
2 votes
Consider the simple case of testing 2 variables, X and Y, where X must be a nonnegative number, and Y must be a number between -5 and +15. Utilizing boundary value analysis, list the test cases.

User Hargrovm
by
8.2k points

1 Answer

6 votes

Final answer:

Boundary value analysis is a software testing technique that focuses on the boundaries or limits of input values. In this case, we have two variables, X and Y, and we can create test cases that cover the minimum, maximum, and boundary values for both variables.

Step-by-step explanation:

Boundary value analysis is a software testing technique that focuses on the boundaries or limits of input values. In this case, we have two variables, X and Y. The boundary values for X are 0 (nonnegative) and the boundary values for Y are -5 and 15. Utilizing boundary value analysis, we can list the following test cases:

  • X = 0, Y = -5
  • X = 0, Y = 0
  • X = 0, Y = 15
  • X = 1, Y = -5
  • X = 1, Y = 0
  • X = 1, Y = 15

These test cases cover the minimum, maximum, and boundary values for both variables, ensuring comprehensive testing of the system.

User Vzczc
by
7.5k points
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.