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:
J. Cliff Dyer
2016-10-06 09:46:23 -04:00
parent f5647878d9
commit 1cfff02f06
31 changed files with 472 additions and 236 deletions

View File

@@ -0,0 +1,11 @@
<problem display_name="Multiple Choice" markdown="This is the first problem.&#10;&#10;&gt;&gt; What kind of swallow?&#10;&#10;(x) African&#10;( ) European&#10;( ) I don't know">
<multiplechoiceresponse>
<p>This is the first problem.</p>
<p>&gt;&gt; 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>

View 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>

View 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>