Add tests for scoring of diverse problem types.
Includes: * CAPA * ORA * LTI * LTI-Consumer * SGA * Randomized Content Block TNL-5692 TNL-5464
This commit is contained in:
11
common/test/data/scoreable/problem/capa.xml
Normal file
11
common/test/data/scoreable/problem/capa.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<problem display_name="Multiple Choice" markdown="This is the first problem. >> What kind of swallow? (x) African ( ) European ( ) I don't know">
|
||||
<multiplechoiceresponse>
|
||||
<p>This is the first problem.</p>
|
||||
<p>>> What kind of swallow?</p>
|
||||
<choicegroup type="MultipleChoice">
|
||||
<choice correct="true">African</choice>
|
||||
<choice correct="false">European</choice>
|
||||
<choice correct="false">I don't know</choice>
|
||||
</choicegroup>
|
||||
</multiplechoiceresponse>
|
||||
</problem>
|
||||
13
common/test/data/scoreable/problem/library_mc.xml
Normal file
13
common/test/data/scoreable/problem/library_mc.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<problem>
|
||||
<multiplechoiceresponse>
|
||||
<p>This is a multiple choice version of the question.</p>
|
||||
<label>What company do you work for?</label>
|
||||
<description>Hint: It's not Microsoft. </description>
|
||||
<choicegroup type="MultipleChoice">
|
||||
<choice correct="false">Enron</choice>
|
||||
<choice correct="false">Microsoft</choice>
|
||||
<choice correct="true">edX</choice>
|
||||
<choice correct="false">J. C. Penney</choice>
|
||||
</choicegroup>
|
||||
</multiplechoiceresponse>
|
||||
</problem>
|
||||
9
common/test/data/scoreable/problem/library_text.xml
Normal file
9
common/test/data/scoreable/problem/library_text.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<problem>
|
||||
<stringresponse answer="edX" type="ci">
|
||||
<p>This is the first problem</p>
|
||||
<label>What company do you work for?</label>
|
||||
<description>Hint: It's not Microsoft. </description>
|
||||
<additional_answer answer="edX.org"/>
|
||||
<textline size="20"/>
|
||||
</stringresponse>
|
||||
</problem>
|
||||
Reference in New Issue
Block a user