page_title: Classification Tree Method
section_title: Example
hierarchical_section_title: Classification Tree Method / Application / Example
caption_attribution_description: English: Example Classification Tree for a Database SystemDeutsch: Beispiel Klassifikationsbaum für ein Datenbank-System
context_page_description: The Classification Tree Method is a method for test design, as it is used in different areas of software development.
  It was developed by Grimm and Grochtmann in 1993.
  Classification Trees in terms of the Classification Tree Method must not be confused with decision trees.
  The classification tree method consists of two major steps:
  Identification of test relevant aspects and their corresponding values as well as
  Combination of different classes from all classifications into test cases.
  The identification of test relevant aspects usually follows the specification of the system under test.
  These aspects form the input and output data space of the test object.
  The second step of test design then follows the principles of combinatorial test design.
  While the method can be applied using a pen and a paper, the usual way involves the usage of the Classification Tree Editor, a software tool implementing the classification tree method.
context_section_description: For a database system, test design has to be performed. 
  Applying the classification tree method, the identification of test relevant aspects gives the classifications: User Privilege, Operation and Access Method.
  For the User Privileges, two classes can be identified: Regular User and Administrator User.
  There are three Operations: Add, Edit and Delete.
  For the Access Method, again three classes are identified: Native Tool, Web Browser, API.
  The Web Browser class is further refined with the test aspect Brand, three possible classes are included here: Internet Explorer, Mozilla Firefox, and Apple Safari.
  The first step of the classification tree method now is complete. Of course, there are further possible test aspects to include, e.g. access speed of the connection, number of database records present in the database, etc. Using the graphical representation in terms of a tree, the selected aspects and their corresponding values can quickly be reviewed.
  For the statistics, there are 30 possible test cases in total (2 privileges * 3 operations * 5 access methods). For minimum coverage, 5 test cases are sufficient, as there are 5 access methods (and access method is the classification with the highest number of disjoint classes).
  In the second step, three test cases have been manually selected: 
  A regular user adds a new data set to the database using the native tool.
  An administrator user edits an existing data set using the Firefox browser.
  A regular user deletes a data set from the database using the API.
caption: Classification Tree for a Database System
exif: {}