CordonaCodeCraft / flagship

0 stars 0 forks source link

Test scenarios for the calculators #53

Open CordonaCodeCraft opened 3 years ago

CordonaCodeCraft commented 3 years ago

Each test scenario must be for a specific due calculator. Each test scenario must include what values have been used and why those values have been used. Sample tonnage due to calculator scenario:

Ship type: general purpose ship; Due per ton - 0.55 (the ship is visiting First Port Area and the base due is not dependant on the ship type or the call purpose); Discount: 0.7, because this is the 4th call


Ship type: military Due per ton - 0.25 Call purpose - resupply Discount - 0 (military ships are not eligible for discount disregarding the call purpose or call count.

Alternatively and preferably: QA test session, where during an offline meeting we together enter user input and validate the expected result while discussing different scenarios and edge cases.