Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Learn parameter definition strategies for creating the most efficient set of DesignWise TCD tests.

Long lists of Values always result in large numbers of tests

...

  • Imagine you are testing an application that has a drop box with 500 city names
  • That the The application also has 5 different features that will be tested together with different cities
  • If you list each city individually and create a set of 2-way tests, the smallest possible number of tests you would generate would be 500 X 5 = 2,500 tests

Instead, define Equivalence Classes and enter them into

...

Test Case Designer

Depending upon the business rules and behaviors of the application you are testing, you might break your equvalence classes of cities into size-based categories or location-based categories such as these:

...

For more information:

  • Don’t forget to explore DesignWise’s TCD’s Value Expansion feature
  • See Wikipedia’s description of Equivalence Class Partitioning
  • A simple 2-minute experiment demonstrates how important this lesson is:
  1. Create 2 test plans in DesignWisemodels in Test Case Designer
  2. Call the first plan one “2p20v” (this automatically generates a plan model with 2 Parameters with 20 Values each)
  3. Call the second plan one “20p2v”
  4. The first plan model has only 400 possible tests. All 400 tests are needed to achieve pairwise coverage.
  5. The second plan model has over a million possible tests. Only 11 tests are needed for pairwise coverage!

...