Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-1 Moodle QA testing
  3. MDLQA-20251

Late submission grade penalties exploratory testing

XMLWordPrintable

      This is an exploratory test of a new feature or improvement, so please feel free to try anything you like and not just the test steps!

      Setup

      • Go to "Site administration > Grades > Grade penalties > Manage penalty plugins" and enable the 'Late submission penalties' plugin
      • Go to "Site administration > Grades > Grade penalties > Manage supported activities"
      • Select "Assignment" in the enabled activities, enable "Apply penalty to overridden grades" and save.
      • Go to "Grades > Grade penalties > Late submission penalties > Penalty rules" and create some penalty rules.

      Testing: Penalty implementation on an assignment

      1. Create a test course and enroll a student.
      2. Create an assignment in the course:
        • Set due date to "Yesterday" / a date in the past
        • Submission types: File submissions
        • Make sure grade type is set to point
        • Enable "Grade penalties" under "Grade" section
      3. Login as the student and add an submission
      4. Log in as an teacher to mark the submission
        • Verify the grade in grade book is deducted according to the penalty rules
        • Verify in the submission list the grade is original assignment grade (without penalty), the final grade (gradebook grade) is the one with penalty

      Testing: Penalty recalculation

      1. Go to the assignment created on previous test
      2. Go to "Grade penalties" on Assignment navigation bar
      3. Change penalty rules
      4. Then click on "Recalculate penalties" button
      5. Wait or run cron job so that "recalculate_penalties" adhoc task can be run:
      6. Verify that the final grade of the student should be recalculated according to the new rules

      Testing: Penalty indicator

      1. Go to the test course, ensure "edit mode" is disabled.
      2. Go to "Grade > Grader report" and verify that there is a red triangle icon, with a tooltip showing the penalty.
      3. Go to "Grade > User report" and select the testing user.
        • Verify that there is a red triangle icon, with a tooltip showing the penalty

      Testing: Apply penalty to overridden mark

      1. Go to "Grade > Grader report" in the test course and turn "Editing mode" on.
      2. Change "Original grade" for the testing assignment grade item
      3. Verify the "Exempt penalty" is not checked
      4. Save changes and verify that the "Current grade" is subtracted with the same penalized amount
      5. Turn off "Editing mode" and verify the grade is same as "Current grade" and showing penalty indicator
      6. Turn on "Editing mode" again, tick "Exempt penalty" checkbox and save changes.
      7. Verify the "Current grade" is the same as "Original grade"
      8. Turn off "Editing mode" and verify the grade is same as "Current grade" and there is no penalty indicator

      Testing the notification

      1. In the test course navigate to Grades > Import.
      2. Verify the notification "Grade penalties will not be applied to imported grades." is displayed on the various import pages.
      3. Disable all penalty plugins.
      4. Verify the notification no longer appears.

      Testing Import

      1. Create a course, add an assignment and enrol some students.
      2. Grade the student.
        • Grade export will include the raw mark and final mark. The final mark includes any penalties.
      3. Navigate to the course > Grades > Export and export the grades for the assignment as "Plain text" file.
      4. Delete the recent grades from the mdl_grade_grades table.
      5. Verify the grades are gone (Grades > Grader report and/or assignment > Submissions).
      6. Set the assignment due date to some point in the past and configure penalty rules if not already done.
      7. Import the grades,
        • Map from > Email address.
        • Map to > Email address.
        • [assignment] (Real) > Grade items > [assignment]
      8. Verify the grades have been restored, and no additional penalties have been applied.

            Unassigned Unassigned
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.