Proyectos de Subversion Moodle

Rev

Rev 1 | | Comparar con el anterior | Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
@gradingform @gradingform_rubric @javascript
2
Feature: Converting rubric score to grades
3
  In order to use and refine rubrics to grade students
4
  As a teacher
5
  I need to be able to use different grade settings
6
 
1441 ariadna 7
  Background:
1 efrain 8
    Given the following "users" exist:
9
      | username | firstname | lastname | email |
10
      | teacher1 | Teacher | 1 | teacher1@example.com |
11
      | student1 | Student | 1 | student1@example.com |
12
    And the following "courses" exist:
13
      | fullname | shortname | format |
14
      | Course 1 | C1 | topics |
15
    And the following "course enrolments" exist:
16
      | user | course | role |
17
      | teacher1 | C1 | editingteacher |
18
      | student1 | C1 | student |
19
    And the following "scales" exist:
20
      | name         | scale                                     |
21
      | Test scale 1 | Disappointing, Good, Very good, Excellent |
1441 ariadna 22
 
23
  Scenario Outline: Convert assignment rubric scores to grades.
24
    Given the following "activities" exist:
25
    | activity   | name              | intro | course | idnumber    | grade   | advancedgradingmethod_submissions |
26
    | assign     | Test assignment 1 | Test  | C1     | assign1     | <grade> | rubric                            |
1 efrain 27
    When I log in as "teacher1"
28
    And I change window size to "large"
29
    And I am on "Course 1" course homepage with editing mode on
30
    And I go to "Test assignment 1" advanced grading definition page
31
    And I set the following fields to these values:
32
      | Name | Assignment 1 rubric |
33
      | Description | Rubric test description |
34
      | Calculate grade having a minimum score of the minimum achievable grade for the rubric | <lockzeropoints> |
35
    And I define the following rubric:
36
      | Criterion 1 | Level 11 | 20 | Level 12 | 25 | Level 13 | 40 | Level 14  | 50  |
37
      | Criterion 2 | Level 21 | 20 | Level 22 | 25 | Level 23 | 30 |           |     |
38
      | Criterion 3 | Level 31 | 10 | Level 32 | 20 |          |    |           |     |
39
    And I press "Save rubric and make it ready"
40
    And I navigate to "Assignment" in current page administration
41
    # Grading a student.
42
    And I go to "Student 1" "Test assignment 1" activity advanced grading page
43
    And I grade by filling the rubric with:
44
      | Criterion 1 | 25 |  |
45
      | Criterion 2 | 20 |  |
46
      | Criterion 3 | 10 |  |
47
    And I save the advanced grading form
48
    # Checking that the user grade is correct.
49
    And I should see "<studentgrade>" in the "student1@example.com" "table_row"
50
    And I log out
51
 
52
    Examples:
53
      | grade        | lockzeropoints | studentgrade   |
54
      | 100          |              1 | 55.00          |
55
      | 70           |              1 | 38.50          |
56
      | Test scale 1 |              1 | Good           |
57
      | 100          |                | 10.00          |
58
      | 70           |                | 7.00           |
59
      | Test scale 1 |                | Disappointing  |
1441 ariadna 60
 
61
  Scenario Outline: Convert forum rubric scores with a scale to grades.
62
    Given the following "activities" exist:
63
      | activity | name         | intro | course | idnumber | grade | advancedgradingmethod_submissions |
64
      | forum    | Test forum 1 | Test  | C1     | forum1   | 100   | rubric                            |
65
    And I change window size to "large"
66
    And I am on the "Test forum 1" "forum activity editing" page logged in as teacher1
67
    And I expand all fieldsets
68
    And I set the following fields to these values:
69
      | Whole forum grading > Type   | Scale                     |
70
      | Whole forum grading > Scale  | Default competence scale  |
71
      | Grading method               | Rubric                    |
72
    And I press "Save and display"
73
    And I go to "Test forum 1" advanced grading definition page
74
    # Defining a rubric.
75
    And I set the following fields to these values:
76
      | Name        | Forum 1 rubric          |
77
      | Description | Rubric test description |
78
    And I define the following rubric:
79
      | Criterion 1 | Level 11 | 1  | Level 12 | 20 | Level 13 | 40 | Level 14  | 50  |
80
      | Criterion 2 | Level 21 | 10 | Level 22 | 20 | Level 23 | 30 |           |     |
81
      | Criterion 3 | Level 31 | 5  | Level 32 | 20 |          |    |           |     |
82
    And I press "Save rubric and make it ready"
83
    When I am on the "Test forum 1" "forum activity" page logged in as teacher1
84
    And I press "Grade users"
85
    And I click on "<criterion1> points" "radio"
86
    And I click on "<criterion2> points" "radio"
87
    And I click on "<criterion3> points" "radio"
88
    And I press "Save"
89
    And I am on the "Course 1" "grades > Grader report > View" page
90
    Then I should see "<studentgrade>" in the "student1@example.com" "table_row"
91
 
92
    Examples:
93
      | studentgrade      | criterion1  | criterion2  | criterion3  |
94
      | Competent         | Level 14 50 | Level 23 30 | Level 32 20 |
95
      | Not yet competent | Level 11 1  | Level 21 10 | Level 31 5  |