Skip to main content

Equivalence Partitioning

Equivalence Partitioning is the Software Testing technique in which divide the Test input data into partition of the equivalent and from these partition, we will derived the Test Cases to test the software.
As you know that it is not possible the Exhaustive Testing to test the software on every test data so we divide the Test Data in the partition. This partitioned Test Data covers the each partition and we do not need to waste our time to test for different data from single partition. This will reduce the Test Cases and also reduce the cost of the software. This is the Black Box Testing and the specification dependent Testing.

In Equivalence Partitioning, we test the software with single value form each partition and if the software work with that single value as per requirement then we assume that our software will work for other values in that partition.

Let me take an example to understand the Equivalence Partitioning suppose an input box accept only 1 to 100 integer value so we will divide the Test Date in partition


  •  First Test case will be any number greater then 100 will be invalid Partition
  • Second Test case will be any number less then 1 means 0 or less then 0 will come in invalid partition.
  • Third Test case will be both 1 and 100 will come in the valid partition
so the total value that needed to test the input are 0,1,100,101. These 4 test cases are enough to test that input. 

Comments

Popular posts from this blog

What is API?

In general way, API (Application Programming Interface) is the intermediate software which is useful for two applications to communicate. API is the tool which is used for interaction of two applications. If developer developing any software which have multiple blocks (Modules) than developer use APIs to put them together.

How to Put Load on a Script in JMeter

In last post we discussed about how to record a test script and Firefox settings to run the script. In this post we will discuss about how the Thread Group will work, how can we put n number of users to perform load testing, In JMeter by using Thread Group, we can create virtual users. Thread Group is a set of thread which work in same scenario. There are multiple thread group are available which is use to configure how the virtual users interest with the application, How much load maintain and till how much time load maintain.

Causes of Software Defects

It is practically impossible that developer develop a bug free software and that software we can deliver without Testing. If the complexity of the software increased then there must be bugs that can harm the users who will use that software.