This website uses cookies to ensure you get the best experience.
Learn more.
A bug report says a checkout total becomes negative when two promotions are combined. Which two requests would make Copilot's test assistance most useful? Select 2 answers.
Published
- Create a regression test reproducing the reported promotion combination and the expected total.
- Replace the required promotion rules with whatever behavior the current implementation produces.
- Generate tests that mock the total calculation itself in every case.
- Add boundary cases for zero totals, maximum discounts, and promotion ordering according to the requirements.
- Assert only that the checkout page loads successfully.
Comments — 0
Sign in to comment