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

Why Jmeter is best option for Performance Testing?

There are multiple tools in market for performance testing of any software but Jmeter is the best solution among all of them due to some reason listed below 1) Jmeter is the open source application so users who use this application will not to pay anything. 2) You can use Jmeter for performance of any web application,  Databases and Web Services (REST and SOAP APIs). 3) Jmeter have the user friendly UI component so it is very easy to use. 4) Jmeter can be used to simulate to put maximum number of concurrent users on a server, network or object to test its strength or to analyze overall performance under different load types. 5) Jmeter also use for functional testing for static( JavaScript and HTML) and dynamic( JSP, Servlets and AJAX) resources. 6) Jmeter provides Verity of graphical representations for performance report so it is easy to understand.

How You Can Test Database?

Now we know the Database Testing which you can learn in my last article. In this article we will discuss about the steps that need to following to test any Database. Database Tester should have some basic knowledge regarding SQL Command like DDL (create/drop),  DML (Insert/Delete/Update) and DCL (Grant/Revoke).

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.