Need help to prepare Decision table and Test cases
Question - 1
Every person needs to save for Retirement. The most common key goals to meet after retirement are –
1. Have Adequate Insurance cover
2. Have adequate health expense cover
3. Have adequate standard living expenses cover, considering expenses after inflation of 5%.
4. Have adequate cover for marriage and education for children.
To achieve these goals, there are multiple options for investments are available and they are given as below -
1. Option 1 – Purchase house and invest in Real Estate and gain for property value appreciation -
a. Purchase of house will involve initial upfront investment of 20% as down payment and rest 80% as loan with fixed interest rate of 12%.
b. Market price for Residential flat will vary based on market conditions. We can assume that the Residential rates are appreciating by 5% every year.
c. At the time of Purchase of flat individual will have to pay additional amounts such as Registration, stamp duty, VAT, One time maintenance, which is around 10% of purchase value.
d. Employee can get tax rebate for INR 1 LAKH for principal and 1.5 LAKH for interest for EMI every year.
e. If purchased flat is sold within 3 years all Tax concession amount claimed will have to reverted, i.e. paid back to government as Tax.
f. If Purchased flat is sold within 5 years, employee has to pay capital gains tax @ 20% over the gains calculated and paid.
2. Option 2 - Invest into FDs and Equity – 50% in each.
a. Fixed Deposit rates are 12% interest per year. Interest is taxable at 10%.
b. Invest in Equities with higher growth potential but with higher risk. The Equities are appreciating by 2% each year. In addition, dividend is guaranteed to be 30% of the value of the stock invested. The dividend is considered as tax free income.
3. Option 3 – Invest in Long term options such as PPF where the recurring interest rate is 12% but the deposit is secured. This investment is tax free.
A module has been written that implement all the above functionality. This module will accept inputs – 1 duration for the investment (“Y” in number of years), - 2 amount to be invested, - 3 Expected total valuation (cash + assets) after “Y” years.
The module returns the best suitable option for the given inputs that satisfies the requirements and will maximize the valuation.
1. Design Test Cases for this module considering this as a part of Black Box testing. Your approach and method for designing the test cases must be visible and evident.
2. Optimize the Test Cases, but ensure 100% coverage of all pair tests. If you feel appropriate, use techniques like Decision tables, all pairs and orthogonal arrays.
3. Design Test data for the Test cases using techniques like boundary values and Equivalence partitions.
4. Is Black Box testing technique sufficient to have complete condition coverage?