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
  1. Create a regression test reproducing the reported promotion combination and the expected total.
  2. Replace the required promotion rules with whatever behavior the current implementation produces.
  3. Generate tests that mock the total calculation itself in every case.
  4. Add boundary cases for zero totals, maximum discounts, and promotion ordering according to the requirements.
  5. Assert only that the checkout page loads successfully.

Comments — 0