answersLogoWhite

0


Best Answer
Answer
A technique in black box testing is equivalence partitioning. Equivalence partitioning is designed to minimize the number of test cases by dividing tests in such a way that the system is expected to act the same way for all tests of each equivalence partition. Test inputs would be selected from each partition.

Grocery Store Example
Consider a software module that is intended to accept the name of a grocery item and a list of the different sizes the item comes in, specified in ounces. The specifications state that the item name is to be alphabetic characters 2 to 15 characters in length. Each size may be a value in the range of 1 to 48, whole numbers only. The sizes are to be entered in ascending order (smaller sizes first). A maximum of five sizes may be entered for each item. The item name is to be entered first, followed by a comma, then followed by a list of sizes. A comma will be used to separate each size. Spaces (blanks) are to be ignored anywhere in the input.

Derived Equivalence Classes
  1. Item name is alphabetic (valid)
  2. Item name is not alphabetic (invalid)
  3. Item name is less than 2 characters in length (invalid)
  4. Item name is 2 to 15 characters in length (valid)
  5. Item name is greater than 15 characters in length (invalid)
  6. Size value is less than 1 (invalid)
  7. Size value is in the range 1 to 48 (valid)
  8. Size value is greater than 48 (invalid)
  9. Size value is a whole number (valid)
  10. Size value is a decimal (invalid)
  11. Size value is numeric (valid)
  12. Size value includes nonnumeric characters (invalid)
  13. Size values entered in ascending order (valid)
  14. Size values entered in nonascending order (invalid)
  15. No size values entered (invalid)
  16. One to five size values entered (valid)
  17. More than five sizes entered (invalid)
  18. Item name is first (valid)
  19. Item name is not first (invalid)
  20. A single comma separates each entry in list (valid)
  21. A comma does not separate two or more entries in the list (invalid)
  22. The entry contains no blanks (???)
  23. The entry contains blanks (????)
Black Box Test Cases for the Grocery Item Example based on the Equivalence Classes Above.

*Source: http://users.csc.calpoly.edu/~jdalbey/205/Resources/grocerystore.html
User Avatar

Wiki User

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is equivalence partitioning?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the commands for partitioning in DOS?

"fdisk" command is used for partitioning in DOS.


Where can one purchase office partitioning?

Office partitioning can be purchased at many locations and different types of retailers. Many online retailers, such as Amazon and eBay sell office partitioning.


Where can one purchase disk partitioning software?

There are different various places where one can purchase disk partitioning software. There are disk partitioning software available on Amazon such as Partition Commander 10. Some other places that one can buy disk partitioning software are Ease US and Partition Wizard.


What does bsp stand for?

Binary Space Partitioning


What type of hard drive does not require partitioning?

All hard drives require partitioning. Most have one big partition, and come that way from the store.


What is fuel equivalence ratio of unity?

It mean the equivalence ratio is equal to 1.


What utilities are included for the partitioning hard drives?

nothing


Can you use a hard disk without partitioning it?

Yes


What writes sector markings to a hard drive?

partitioning


What is the best method for math?

Place value partitioning


What is the partitioning of a single server each of which can support a different operating system?

Server virtualization is the partitioning of a single of a single server each of which can support a different operating system.


What do you mean by partioning in datawarehouse?

Data warehouse is a large repository of data. The data may or may not be of any use. Partitioning in Data warehouse can be done by forming clusters and then forming groups.Partitioning in datawarehouse can be done by forming clusters. Partitioning can be done on the basis of relation between the data.