summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormahesh2017-03-21 19:57:52 +0530
committermahesh2017-03-21 19:57:52 +0530
commitd974d4db89af71dd844d76849678f287eedc75ce (patch)
tree5c74131b71ac228ee89f454807e5869bb0e109a7
parent72061d5f4ceae8e848a1fb12ab245be93db75435 (diff)
downloadonline_test-d974d4db89af71dd844d76849678f287eedc75ce.tar.gz
online_test-d974d4db89af71dd844d76849678f287eedc75ce.tar.bz2
online_test-d974d4db89af71dd844d76849678f287eedc75ce.zip
added documentation for simple question types
-rw-r--r--yaksh/documentation/images/float_testcase.jpgbin0 -> 81100 bytes
-rw-r--r--yaksh/documentation/images/integer_testcase.jpgbin0 -> 82479 bytes
-rw-r--r--yaksh/documentation/images/string_testcase.jpgbin0 -> 84962 bytes
-rw-r--r--yaksh/documentation/moderator_docs/creating_question.rst37
4 files changed, 37 insertions, 0 deletions
diff --git a/yaksh/documentation/images/float_testcase.jpg b/yaksh/documentation/images/float_testcase.jpg
new file mode 100644
index 0000000..2b6827c
--- /dev/null
+++ b/yaksh/documentation/images/float_testcase.jpg
Binary files differ
diff --git a/yaksh/documentation/images/integer_testcase.jpg b/yaksh/documentation/images/integer_testcase.jpg
new file mode 100644
index 0000000..ca70a41
--- /dev/null
+++ b/yaksh/documentation/images/integer_testcase.jpg
Binary files differ
diff --git a/yaksh/documentation/images/string_testcase.jpg b/yaksh/documentation/images/string_testcase.jpg
new file mode 100644
index 0000000..7286eff
--- /dev/null
+++ b/yaksh/documentation/images/string_testcase.jpg
Binary files differ
diff --git a/yaksh/documentation/moderator_docs/creating_question.rst b/yaksh/documentation/moderator_docs/creating_question.rst
index 94bb95c..69bb635 100644
--- a/yaksh/documentation/moderator_docs/creating_question.rst
+++ b/yaksh/documentation/moderator_docs/creating_question.rst
@@ -251,6 +251,43 @@ How to write Test cases
.. image:: ../images/hook_testcase.jpg
:width: 80%
+ * **Create Integer Based Test Case**
+
+ Select **Answer in Integer** from Type field.
+
+ Select Integer from Add Test Case field.
+
+ In the Correct field, add the correct integer value for the question.
+
+ .. image:: ../images/integer_testcase.jpg
+ :width: 80%
+
+ * **Create String Based Test Case**
+
+ Select **Answer in String** from Type field.
+
+ Select **String** from Add Test Case field.
+
+ In the **Correct** field, add the exact string answer for the question.
+
+ In **String Check** field, select if the checking of the string answer
+ should be case sensitive or not.
+
+ .. image:: ../images/string_testcase.jpg
+ :width: 80%
+
+ * **Create Float Based Test Case**
+
+ Select **Answer in Float** from Type field.
+
+ Select **Float** from Add Test Case field.
+
+ In the **Correct** field, add the correct float value for the question.
+
+ In the **Error Margin** field, add the margin of error that will be allowed.
+
+ .. image:: ../images/float_testcase.jpg
+ :width: 80%
Features in Question