Archive for December, 2010|Monthly archive page

A brief introduction to Equivalence Classes

In Testing Methodologies on December 30, 2010 at 1:16 pm

1000 Apples 900 Oranges 1400 Guavas have arrived ina truck.

You have only a few minutes to examine them. What would be the

best way to do this?
One way to do this would be to pick one or two fruits

from each category (Apples, Oranges, Guavas) and see if they

are good.

This is an analogy for equivalence classes. Each class is a

class of fruit. The fruits domain has three types of fruits

Apples, Oranges and Guavas. Hence 3 equivalence classes.

Lets look at another example:
We have an input domain allowed between 1 to 100 (intergers

only, no decimals or fractions allowed), to be fed to our

application under test – what could be the valid equivalence

Ans: The range of 1 to 100 comprises of 3 equivalence classes, namely: single digit (0-9), double digit (10-99), triple digit (100). If the user wants to test the application he just needs to select just one input from each of the three ranges. This avoids the tester from testing the application using each of the numbers from 1 to 100. The testing can be completed by just using 3 values!.

The above examples clearly show that testers in their daily lives have to deal with vast amounts of data. They can definitely divide the input data into valid and invalid (more on this later) equivalence classes, and select just one or two samples from each of the domain to safely say that there has been a good coverage in terms of input.

Divide and Rule rules!!!

Maintenance based Projects

In Software Testing on December 29, 2010 at 2:31 pm

Maintenance based Projects are those wherein the product is already built and changes are being implemented to it. For example: We could have a project where the application being tested is being migrated from VB6 to VB.NET, or the architecture is being migrated from CORBA to EJB. It could also be one of the projects wherein new features are being added to an existing system.

Testing Jobs

In Testing Jobs on December 19, 2010 at 4:42 am

Testing jobs are normally found in either product development or services based companies. Unfortunately, what offers a challenge is the project. In India, most projects are maintenance based.

%d bloggers like this: