[ Index ] |
PHP Cross Reference of Unnamed Project |
[Summary view] [Print] [Text view]
1 @qtype @qtype_truefalse 2 Feature: Test creating a True/False question 3 As a teacher 4 In order to test my students 5 I need to be able to create a True/False question 6 7 Background: 8 Given the following "users" exist: 9 | username | firstname | lastname | email | 10 | teacher1 | T1 | Teacher1 | teacher1@moodle.com | 11 And the following "courses" exist: 12 | fullname | shortname | category | 13 | Course 1 | C1 | 0 | 14 And the following "course enrolments" exist: 15 | user | course | role | 16 | teacher1 | C1 | editingteacher | 17 And I log in as "teacher1" 18 And I follow "Course 1" 19 And I navigate to "Question bank" node in "Course administration" 20 21 Scenario: Create a True/False question with Correct answer as False 22 When I add a "True/False" question filling the form with: 23 | Question name | true-false-001 | 24 | Question text | Manchester is the capital city of England. | 25 | Default mark | 1 | 26 | General feedback | London is the capital city of England. | 27 | Correct answer | False | 28 | Feedback for the response 'True'. | Well done! | 29 | Feedback for the response 'False'. | Read more about England. | 30 Then I should see "true-false-001" 31 32 Scenario: Create a True/False question with Correct answer as True 33 When I add a "True/False" question filling the form with: 34 | Question name | true-false-002 | 35 | Question text | London is the capital city of England. | 36 | Default mark | 1 | 37 | General feedback | London is the capital city of England. | 38 | Correct answer | True | 39 | Feedback for the response 'True'. | Well done! | 40 | Feedback for the response 'False'. | Read more about England. | 41 Then I should see "true-false-002"
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |