🔥 3-day streak
GitHub Copilot94 / 190
Question 94 of 190
A developer selects a legacy `calculateShippingCost` function that has no documentation and asks Copilot Chat with `/tests` to generate a unit test suite. The function contains several conditional branches whose business meaning is unclear (e.g., a discount applied only when `weight > 50 && region == 'INTL'`). Copilot produces tests that pass, but the developer is unsure whether the assertions reflect the *intended* behavior or merely the *current* behavior. What is the most appropriate next step to maximize the value of the generated tests?
Reviewed for accuracy · Report an issueNext question