MDL-52964 Qtype: Add behat tests to core question types
[moodle.git] / question / type / shortanswer / tests / fixtures / testquestion.moodle.xml
blob47790343a3b2acfcdd066012d4f036a4d892283b
1 <?xml version="1.0" encoding="UTF-8"?>
2 <quiz>
3 <!-- question: 0  -->
4   <question type="category">
5     <category>
6         <text>$course$/Test questions</text>
8     </category>
9   </question>
11 <!-- question: 110000  -->
12   <question type="shortanswer">
13     <name>
14       <text>shortanswer-001</text>
15     </name>
16     <questiontext format="html">
17       <text>Name an amphibian: __________</text>
18     </questiontext>
19     <generalfeedback format="html">
20       <text>Generalfeedback: frog or toad would have been OK.</text>
21     </generalfeedback>
22     <defaultgrade>1.0000000</defaultgrade>
23     <penalty>0.0000000</penalty>
24     <hidden>0</hidden>
25     <usecase>0</usecase>
26     <answer fraction="100" format="moodle_auto_format">
27       <text>frog</text>
28       <feedback format="html">
29         <text>Frog is a very good answer.</text>
30       </feedback>
31     </answer>
32     <answer fraction="80" format="moodle_auto_format">
33       <text>toad</text>
34       <feedback format="html">
35         <text>Toad is an OK good answer.</text>
36       </feedback>
37     </answer>
38     <answer fraction="0" format="moodle_auto_format">
39       <text>*</text>
40       <feedback format="html">
41         <text>That is a bad answer.</text>
42       </feedback>
43     </answer>
44   </question>
46 </quiz>