Type: Functional Test
Affects Version/s: Original - DO NOT REPORT TEST RESULTS HERE
Fix Version/s: None
For this test, while not necessary, it is helpful to have two browsers (ie Firefox and IE) or two computers so you can use Moodle as two separate users. One teacher and one student.
- A course containing 4 grade items. 3 of which should contain marks for your test student. The fourth should contain no grade. Using overridden grades is ok for this test. You may want to override the student's grades with grades that make manual verification of aggregated grades easy. Three grade items with grades of 1, 5 and 10 for example.
- Admin access to update Grade category settings.
- As admin follow Site administration ► Grades ► Grade category settings
- Uncheck "Hide forced settings"
- Set "Aggregation" as "Mean of Grades"
- Select all options in "Available aggregation types"
- Click Save changes.
- As a teacher create a student with four grade items with grades 1, 5, 10 and with one grade item with no grade. All grade items should have a maximum grade of 10.
- Go to Grade administration ► Setup ► Gradebook setup. Click the edit icon next to the course name in the Actions column.
- Set "Aggregation" to "Mean of grades"
- Check that "Exclude empty grades" is ticked. Click save changes.
- Set "Maximum grade" to "10.00"
- As the student view the user report. Verify that the four grade items are displayed within the course and that the course total is 5.33.
- As the teacher set the course aggregation method to "weighted mean of grades." Set the weights to be 2 (for grade of 1), 1 (for grade of 5) and 1 (for grade of 10).
- As the student reload the user report and verify that the course total is 4.25
- Repeat with aggregation set to "simple weighted mean". Untick the "extra credit" field next to any grade items if it is ticked. Course total should be 5.33
- Repeat with the other aggregation methods such as highest grade (10) and natural (16). If the extra credit text box is available make sure it is not ticked. Additional information to assist with calculating aggregate grades can be found at http://moodle.grok.lsu.edu/article.aspx?articleid=7301 if needed. Bear in mind that the ungraded item is ignored so only the 3 graded items are included in the calculations. Take in to account that when you switch from Natural to another type of aggregation your maximum course grade will be reset to 100.
- As the teacher go to Grade administration ► Setup ► Gradebook setup. Click the edit icon next to the course name in the Actions column.
- Uncheck "Exclude empty grades". Click save changes.
- Repeat the above. This time the ungraded item should be included so there are 4 grades to be aggregated. 0, 1, 5 and 10. Be aware that if you last aggregation is "natural" your maximum course grade may be reseted to 100 again, to check it before continuing the test.