summaryrefslogtreecommitdiff
path: root/yaksh/documentation
diff options
context:
space:
mode:
Diffstat (limited to 'yaksh/documentation')
-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