Proyectos de Subversion Moodle

Rev

| 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
 
7
  Scenario Outline: Convert rubric scores to grades.
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 |
22
    And the following "activities" exist:
23
      | activity   | name              | intro | course | idnumber    | grade   | advancedgradingmethod_submissions |
24
      | assign     | Test assignment 1 | Test  | C1     | assign1     | <grade> | rubric                            |
25
    When I log in as "teacher1"
26
    And I change window size to "large"
27
    And I am on "Course 1" course homepage with editing mode on
28
    And I go to "Test assignment 1" advanced grading definition page
29
    And I set the following fields to these values:
30
      | Name | Assignment 1 rubric |
31
      | Description | Rubric test description |
32
      | Calculate grade having a minimum score of the minimum achievable grade for the rubric | <lockzeropoints> |
33
    And I define the following rubric:
34
      | Criterion 1 | Level 11 | 20 | Level 12 | 25 | Level 13 | 40 | Level 14  | 50  |
35
      | Criterion 2 | Level 21 | 20 | Level 22 | 25 | Level 23 | 30 |           |     |
36
      | Criterion 3 | Level 31 | 10 | Level 32 | 20 |          |    |           |     |
37
    And I press "Save rubric and make it ready"
38
    And I navigate to "Assignment" in current page administration
39
    # Grading a student.
40
    And I go to "Student 1" "Test assignment 1" activity advanced grading page
41
    And I grade by filling the rubric with:
42
      | Criterion 1 | 25 |  |
43
      | Criterion 2 | 20 |  |
44
      | Criterion 3 | 10 |  |
45
    And I save the advanced grading form
46
    # Checking that the user grade is correct.
47
    And I should see "<studentgrade>" in the "student1@example.com" "table_row"
48
    And I log out
49
 
50
    Examples:
51
      | grade        | lockzeropoints | studentgrade   |
52
      | 100          |              1 | 55.00          |
53
      | 70           |              1 | 38.50          |
54
      | Test scale 1 |              1 | Good           |
55
      | 100          |                | 10.00          |
56
      | 70           |                | 7.00           |
57
      | Test scale 1 |                | Disappointing  |