diff options
author | Prabhu Ramachandran | 2016-09-21 17:58:12 +0530 |
---|---|---|
committer | GitHub | 2016-09-21 17:58:12 +0530 |
commit | 8e4ead8ab4caa9366e5357840e1912cbfb8cdb85 (patch) | |
tree | a8a9b90e0df9ce0893e7741bc33309af86ea034d /yaksh/tests | |
parent | 4f384f81cbde58f5eaa616dce85f1e4d60ea2c66 (diff) | |
parent | 48f5117a0a0f7f712d3bafabf06e1c63de56e9fa (diff) | |
download | online_test-8e4ead8ab4caa9366e5357840e1912cbfb8cdb85.tar.gz online_test-8e4ead8ab4caa9366e5357840e1912cbfb8cdb85.tar.bz2 online_test-8e4ead8ab4caa9366e5357840e1912cbfb8cdb85.zip |
Merge pull request #134 from ankitjavalkar/selenium-test-with-qdemo
Selenium test with qdemo
Diffstat (limited to 'yaksh/tests')
-rw-r--r-- | yaksh/tests/test_questions.json | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/yaksh/tests/test_questions.json b/yaksh/tests/test_questions.json new file mode 100644 index 0000000..d617f22 --- /dev/null +++ b/yaksh/tests/test_questions.json @@ -0,0 +1,50 @@ +[ + { + "snippet": "", + "testcase": [ + { + "test_case": "assert is_palindrome(\"hello\") == False" + }, + { + "test_case": "assert is_palindrome(\"nitin\") == True" + } + ], + "points": 3.0, + "test_case_type": "standardtestcase", + "description": "Write a function <code>is_palindrome(arg)</code> which will take one string argument. Return true if the argument is palindrome & false otherwise.\r\n<br><br>\r\nFor Example:\r\n<br>\r\n<code>is_palindrome(\"Hello\")</code> should return <code>False</code>\r\n<br>\r\n<br><br>", + "language": "python", + "active": true, + "type": "code", + "summary": "Python, check palindrome (Code)" + }, + { + "snippet": "#!/bin/bash", + "testcase": [ + { + "test_case": "bash_files/sample.sh, bash_files/sample.args" + } + ], + "points": 1.0, + "test_case_type": "standardtestcase", + "description": "Write a bash script that takes exactly two arguments and returns the sum of the numbers", + "language": "bash", + "active": true, + "type": "code", + "summary": "Bash Question Concatenate Files(Code)" + }, + { + "snippet": "", + "testcase": [ + { + "test_case": "c_cpp_files/main2.c" + } + ], + "points": 1.0, + "test_case_type": "standardtestcase", + "description": "Write a program to add 3 nos", + "language": "c", + "active": true, + "type": "code", + "summary": "selenium test" + } +] |