Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-40070

Unit tests for quiz statistics report

    XMLWordPrintable

    Details

      Description

      We want to be able to unit test the quiz reports. This will involve populating the unit test db with test data.

      Using the data generator we want to be able :

      1. Create test instances of each sort of question type.
      2. Create a quiz from a set of questions.
      3. Supply attempt data for each of those question types.
      4. Build entire quiz attempts by supplying attempt data for each question in the quiz, pulling responses from a csv file.
      5. Compare the results generated to pre calculated stats for the responses.

      I will create sub tasks to track these tasks.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jamiesensei Jamie Pratt
              Reporter:
              jamiesensei Jamie Pratt
              Participants:
              Component watchers:
              Tim Hunt, Andrew Nicols, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Tim Hunt, Andrew Nicols, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Andrew Nicols, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: