Section outline

  •   

    • Exercise

      In this exercise, we will use Google Gemini to generate some test cases from a short requirement.
      The requirement:
      The system shall be able to calculate postage based on weight:
      Under 1 pound, the postage is $10
      From 1 pound to 4.99 pounds, the postage is $15
      From 5 pounds to 9.99 pounds, the postage is $20
      Over 10 pounds, the postage is $2.95 per pound

      Instructions
      Go to google.com and click on AI Mode.
      Enter the following prompt. (Note the key elements of the prompt)
      Context – I am a tester working on creating test cases to verify a requirement for calculating postage rates.
      Instruction – Create test cases that contain specific conditions and expected results for the following requirement.
      Data – [Insert requirement here]
      Format – The test case must show test conditions and expected results
      Constraints – Limit the number of test cases to the minimal amount needed to verify the requirement.

      Verify the output. Did it match your expectations?