Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-4602 Moodle 2.4 QA
  3. MDLQA-4770

CLONE - A teacher can add random questions to a quiz

    XMLWordPrintable

    Details

    • Type: Functional Test
    • Status: Passed
    • Affects Version/s: Moodle 2.4
    • Fix Version/s: Moodle 2.4
    • Component/s: Quiz, Student, Teacher
    • Labels:
      None

      Description

      This test requires three question categories in the Question bank:

      • a category (X) that contains exactly 5 questions, and
      • a category (Y) containing exactly 1 question,
      • a category (Z) that is empty.
      1. Login as a teacher and add a quiz activity. Make sure Question order is "As shown on the edit screen".
      2. Go to the edit quiz page, and if necessary switch to the Edit quiz tab. Make sure the question bank is visible.
      3. Select Category X in the question bank. Click the << icon to add one question to the quiz (non-randomly).
      4. Now use the controls at the bottom of the question bank to add 2 random questions to the quiz.
      5. Select Category Y and use the controls at the bottom of the question bank to add a single random question.
      6. Select Category Z. When the page reloads the controls for adding a random question should not be visible.
      7. Preview this quiz as a student and make multiple attempts. Ensure that:
        • the non-random question is always the same;
        • the random questions for Category X are random, but do not duplicate the non-random question; and
        • the random question from category Y is always the same.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rezeau Joseph Rézeau
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: