Saturday, May 22, 2010

Category-Partition Method

Category Partition Testing steps:

1. Decompose functional specifications into functional units.
2. Identify parameters and environment conditions.
3. Find categories of information.
4. Partition each category into choices.
5. Write test specifications for each unit.
6. Produce test frames.
7. Generate test Cases.[Testing and quality assurance for component-based software By Jerry Gao, H.-S. J. Tsao, Ye Wu]

Some useful stuff on Category Partition Testing:

Below PPT includes the introduction to category-partition method, its characteristics, examples and much more.
The Category-Partition Method

The Category-Partition Method, its steps and example.
Category-Partition

The Effectiveness of Category-Partition Testing of Object-Oriented Software (1995) Introduction to Object Or Concepts, Introduction to Testing Concepts, The Category-Partition Method, A Refinement of The Category-Partition Method and much more.
Category-Partition [on the R.H.S under Download, download the PDF file]

How can we develop a test suite to exercise the functions implemented by a single method? A method may implement one or several functions, while each may present varying levels of cohesion. Even cohesive functions can have complex input/output relationships. A systematic technique to identify functions and exercise each input/output relationship is needed. The Category-Partition pattern is appropriate for any method that implements one or more independent functions. For methods or functions that lack cohesion, the constituent responsibilities should be identified and modeled as separate functions. This approach is qualitative and may be worked by hand. It provides systematic implementation-independent coverage of method-scope responsibilities.
Category-Partition Test Design Pattern

Experiences with Category-Partition Testing
Category-Partition Experiences

Testing Object-Oriented Software Using the Category-Partition Method
Category-Partition

Also See:
Catalog Based Testing
Combination Testing