asked 232k views
4 votes
Devise seven test cases for this theoretical testing problem. your software under test inputs a whole number between 1 and 8 and outputs that input number multiplied by 10. for example, if the input is 4, the correct output is 40. you only have time to test seven items before a quick release. what inputs would you test using ruby

asked
User NotAName
by
8.2k points

1 Answer

2 votes
If I only had seven test cases before a release I would input seven different numbers in the program. Since the program is only supposed to take in whole numbers, the first test can be inputting a whole number from 1 to 8. Next, a whole number greater than 8 can be used. The number and a negative number are two more test cases. The fourth test case is a blank. The fifth is using a number that is not a whole number between 1 and 8. The sixth and seventh are non-whole numbers greater than 8 and less than 1, respectively. This seven test cases will test how robust the program was built.
answered
User Ann  Orlova
by
8.8k points

No related questions found

Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.