Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-14813 Moodle 3.10 QA
  3. MDLQA-14918

CLONE - A teacher can add random questions to a quiz

    XMLWordPrintable

    Details

    • Type: Functional Test
    • Status: Passed
    • Priority: Blocker
    • Affects Version/s: Moodle 3.10
    • Fix Version/s: Moodle 3.10
    • Component/s: Quiz, Teacher
    • Labels:
      None

      Description

      This test requires

      • a question category X containing 4 or more questions,
      • a category Y containing 2 or more questions, and
      • during the test you will create a third category called Z.
      1. Log in as a teacher and add a quiz activity.
      2. Go to the "Edit quiz" page.
      3. Click "Add>from question bank"
      4. Select Category X in the "Select a category:" drop down Click the button "Add selected questions to the quiz" to add one question to the quiz (non-randomly).
      5. Now click "Add>a random question" and from the section "Random question from an existing category" select category X and add 2 random questions to the quiz.
      6. Add one random question from category Y.
      7. Click "Add> a random question" and the "Random question using a new category" section to create a new Category Z with parent "Top".
      8. Click the link "See questions" to navigate to the Z category and verify the category is empty. Create a new question in category Z.
      9. Click the "See questions" link for one of the other random questions, and check that the question bank display switches to that other category.
      10. Preview the quiz a few times. Check 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;
      • the random question for Category Y is random; and
      • the random question from the category Z is always the same. (We are testing that having only just enough questions in the category does not cause an error.)

        Attachments

        1. category_z.jpg
          category_z.jpg
          173 kB
        2. creating quiz.jpg
          creating quiz.jpg
          207 kB
        3. preview1.jpg
          preview1.jpg
          155 kB
        4. preview2.jpg
          preview2.jpg
          176 kB
        5. preview3.jpg
          preview3.jpg
          212 kB

          Activity

            People

            Assignee:
            tkorner Thomas Korner
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: