When we deal with a lot of data, it seems to be ever increasing to test and exhaust. Let us take a simple courier management application. Typical inputs are - from address, to address, weight of the packet to be couriered, any insurance to be used for the parcel. Based on these, the price is calculated by the system. Imagine you are the tester for this application, what kind of test conditions you will write?
Let us divide the problem into different segments. See the conditions below.
Let us take a bank that takes deposits. There are many parameters that determine the interests on deposits - but let me take 2 key parameters - Interest Type - Compound or Simple, and the other one is Deposit Period Tag - Daily, Monthly, Yearly. If we alter these 2 parameters, the interest varies. Look at the following options:
Exercise: Take a travel booking site. From city, to city, round trip/one way, adults/children count, accommodation required etc. will appear on the screen as input parameters. Arrive at the combinations of these as test samples based on equivalence partition technique.
Let us divide the problem into different segments. See the conditions below.
- Sending a packet from your home to another house in the same street
- Sending a packet from your home to another house in same zip code or area code
- Sending a packet from your home to another house in another city, but within the same state
- Sending a packet from your home to another house in another city, but outside the state
- Sending a packet from your home to another house in another city, but outside the country
Let us take a bank that takes deposits. There are many parameters that determine the interests on deposits - but let me take 2 key parameters - Interest Type - Compound or Simple, and the other one is Deposit Period Tag - Daily, Monthly, Yearly. If we alter these 2 parameters, the interest varies. Look at the following options:
- Simple interest, applied on Daily basis
- Simple interest, applied on Monthly basis
- Simple interest, applied on Yearly basis
- Compound interest, applied on Daily basis
- Compound interest, applied on Monthly basis
- Compound interest, applied on Yearly basis
Exercise: Take a travel booking site. From city, to city, round trip/one way, adults/children count, accommodation required etc. will appear on the screen as input parameters. Arrive at the combinations of these as test samples based on equivalence partition technique.
No comments:
Post a Comment