DiegoBeltran17 / ISII-WORKSHOPS-JUEGO_EN_LINEA

0 stars 0 forks source link

New business rule required #1

Open lemendoza opened 3 years ago

lemendoza commented 3 years ago

Is your feature request related to a problem? Please describe.

This feature is not related to a problem. It is related to a new policy of the organization.

Based on the impact of the pandemic in the 2020 results, the board of the company has approved a new business rule (policy) beginning january 2021, that needs to be included in our product.

Describe the solution you'd like

The new business rule establishes: If the customer is male, over 25 and younger than 45 then it is needed to subtract $100 from the base premium.

Therefore, we ask you to modify the premium calculation adding this new rule.

Describe alternatives you've considered

There is no alternative to be considered.

Additional context

I will provide you with more information if needed

Best regards,

LEMM

DiegoBeltran17 commented 3 years ago

OK, now we are going to continue the following steps to resolve the issue.

DiegoBeltran17 commented 3 years ago

Now we are going to categorize the issue.

DiegoBeltran17 commented 3 years ago

We will proceed to process the request, @jotozhun will be the assigned analyst, @jotozhun will develop the solution, and @DiegoBeltran17 will perform the test.

jotozhun commented 3 years ago

https://github.com/DiegoBeltran17/ISII-WORKSHOPS-JUEGO_EN_LINEA/blob/ca8fdc8ccdbd22da3dd6d1267201239d31dbc3f7/ec.edu.espol.workshops.second/src/main/java/ec/edu/espol/workshops/second/CarInsurance.java#L24

jotozhun commented 3 years ago

https://github.com/DiegoBeltran17/ISII-WORKSHOPS-JUEGO_EN_LINEA/blob/ca8fdc8ccdbd22da3dd6d1267201239d31dbc3f7/ec.edu.espol.workshops.second/src/main/java/ec/edu/espol/workshops/second/CarInsurance.java#L38-L41

jotozhun commented 3 years ago

It was easy and effortless to implement the new requirement, however, this change will have an important impact in those men. Because that's the age range in which most people buy cars, and now the insurance won't cover that much.

DiegoBeltran17 commented 3 years ago

Unit Testing of the new Issue UnitTest.docx

DiegoBeltran17 commented 3 years ago

AcceptingTest.docx Accepting testing file, all the cases that need to be tested.

lemendoza commented 3 years ago

I agree with the Acceptance test plan.