Print Page | Close Window

Equivalence Class Partitioning

Printed From: One Stop Testing
Category: Software Testing @ OneStopTesting
Forum Name: Test Plans @ OneStopTesting
Forum Discription: Discuss, Learn and Prepare better and better Test Plans for yourself.
URL: http://forum.onestoptesting.com/forum_posts.asp?TID=523
Printed Date: 13Jan2025 at 3:07am


Topic: Equivalence Class Partitioning
Posted By: varsha
Subject: Equivalence Class Partitioning
Date Posted: 02Apr2007 at 11:48pm
What is Equivalence Class Partitioning (ECP or EP)?

Equivalence Class Partitioning is tests based on evaluating input or output conditions and separating them into two or more sets
    - Reduce # of tests to achieve "reasonable" coverage
    - Covers a large set of possible data
    - 2 basic sets: Valid class and Invalid class sets

Equivalence classes are formed by a partition of a set made up of subsets whose union is the entire set. For example, in the triangle program a test for an equilateral triangle may include the inputs (6,6,6). Another test with numbers from the same subset (such as 8,8,8) would likely not produce a different result from the previous test. From a code implementation view, the data is handled the same way
so the second test case using data from the same equivalence class can be considered a redundant test case.



Print Page | Close Window