Línea 30... |
Línea 30... |
30 |
| Test questions | truefalse | Question C | This is question 03 |
|
30 |
| Test questions | truefalse | Question C | This is question 03 |
|
31 |
And the following "activities" exist:
|
31 |
And the following "activities" exist:
|
32 |
| activity | name | course | idnumber |
|
32 |
| activity | name | course | idnumber |
|
33 |
| quiz | Quiz 1 | C1 | quiz1 |
|
33 |
| quiz | Quiz 1 | C1 | quiz1 |
|
34 |
And quiz "Quiz 1" contains the following questions:
|
34 |
And quiz "Quiz 1" contains the following questions:
|
35 |
| question | page |
|
35 |
| question | page | displaynumber |
|
36 |
| Question A | 1 |
|
36 |
| Question A | 1 | |
|
37 |
| Question B | 1 |
|
37 |
| Question B | 1 | |
|
38 |
| Question C | 2 |
|
38 |
| Question C | 2 | 3c |
|
Línea 39... |
Línea 39... |
39 |
|
39 |
|
40 |
@javascript
|
40 |
@javascript
|
41 |
Scenario: Report works when there are no attempts
|
41 |
Scenario: Report works when there are no attempts
|
42 |
When I am on the "Quiz 1" "mod_quiz > Statistics report" page logged in as teacher1
|
42 |
When I am on the "Quiz 1" "mod_quiz > Statistics report" page logged in as teacher1
|
Línea 62... |
Línea 62... |
62 |
And I press "Show report"
|
62 |
And I press "Show report"
|
63 |
And I should not see "No questions have been attempted yet"
|
63 |
And I should not see "No questions have been attempted yet"
|
64 |
And "Show chart data" "link" should exist
|
64 |
And "Show chart data" "link" should exist
|
Línea 65... |
Línea 65... |
65 |
|
65 |
|
- |
|
66 |
# Question A statistics breakdown.
|
66 |
# Question A statistics breakdown.
|
67 |
And "1" row "Q#" column of "questionstatistics" table should contain "1"
|
67 |
And "1" row "Question name" column of "questionstatistics" table should contain "Question A"
|
68 |
And "1" row "Question name" column of "questionstatistics" table should contain "Question A"
|
68 |
And "1" row "Attempts" column of "questionstatistics" table should contain "3"
|
69 |
And "1" row "Attempts" column of "questionstatistics" table should contain "3"
|
69 |
And "1" row "Facility index" column of "questionstatistics" table should contain "66.67%"
|
70 |
And "1" row "Facility index" column of "questionstatistics" table should contain "66.67%"
|
70 |
And "1" row "Standard deviation" column of "questionstatistics" table should contain "57.74%"
|
71 |
And "1" row "Standard deviation" column of "questionstatistics" table should contain "57.74%"
|
71 |
And "1" row "Random guess score" column of "questionstatistics" table should contain "50.00%"
|
72 |
And "1" row "Random guess score" column of "questionstatistics" table should contain "50.00%"
|
72 |
And "1" row "Intended weight" column of "questionstatistics" table should contain "33.33%"
|
73 |
And "1" row "Intended weight" column of "questionstatistics" table should contain "33.33%"
|
73 |
And "1" row "Effective weight" column of "questionstatistics" table should contain "30.90%"
|
74 |
And "1" row "Effective weight" column of "questionstatistics" table should contain "30.90%"
|
Línea 74... |
Línea 75... |
74 |
And "1" row "Discrimination index" column of "questionstatistics" table should contain "50.00%"
|
75 |
And "1" row "Discrimination index" column of "questionstatistics" table should contain "50.00%"
|
- |
|
76 |
|
75 |
|
77 |
# Question B statistics breakdown.
|
76 |
# Question B statistics breakdown.
|
78 |
And "2" row "Q#" column of "questionstatistics" table should contain "2"
|
77 |
And "2" row "Question name" column of "questionstatistics" table should contain "Question B"
|
79 |
And "2" row "Question name" column of "questionstatistics" table should contain "Question B"
|
78 |
And "2" row "Attempts" column of "questionstatistics" table should contain "3"
|
80 |
And "2" row "Attempts" column of "questionstatistics" table should contain "3"
|
79 |
And "2" row "Facility index" column of "questionstatistics" table should contain "33.33%"
|
81 |
And "2" row "Facility index" column of "questionstatistics" table should contain "33.33%"
|
80 |
And "2" row "Standard deviation" column of "questionstatistics" table should contain "57.74%"
|
82 |
And "2" row "Standard deviation" column of "questionstatistics" table should contain "57.74%"
|
81 |
And "2" row "Random guess score" column of "questionstatistics" table should contain "50.00%"
|
83 |
And "2" row "Random guess score" column of "questionstatistics" table should contain "50.00%"
|
82 |
And "2" row "Intended weight" column of "questionstatistics" table should contain "33.33%"
|
84 |
And "2" row "Intended weight" column of "questionstatistics" table should contain "33.33%"
|
Línea 83... |
Línea 85... |
83 |
And "2" row "Effective weight" column of "questionstatistics" table should contain "34.55%"
|
85 |
And "2" row "Effective weight" column of "questionstatistics" table should contain "34.55%"
|
- |
|
86 |
And "2" row "Discrimination index" column of "questionstatistics" table should contain "86.60%"
|
84 |
And "2" row "Discrimination index" column of "questionstatistics" table should contain "86.60%"
|
87 |
|
85 |
|
88 |
# Question C statistics breakdown.
|
86 |
# Question C statistics breakdown.
|
89 |
And "3" row "Q#" column of "questionstatistics" table should contain "3c"
|
87 |
And "3" row "Question name" column of "questionstatistics" table should contain "Question C"
|
90 |
And "3" row "Question name" column of "questionstatistics" table should contain "Question C"
|
88 |
And "3" row "Attempts" column of "questionstatistics" table should contain "3"
|
91 |
And "3" row "Attempts" column of "questionstatistics" table should contain "3"
|