summaryrefslogtreecommitdiff
path: root/yaksh/test_models.py
AgeCommit message (Collapse)Author
2017-04-05Add multiple fixes based on code reviewankitjavalkar
2017-03-31Multiple changes to Course:ankitjavalkar
- Allow a start and end time for Course enrollment - Allow Course to be editable
2017-03-21rebase changes for simple question typesmahesh
2017-03-20Merge pull request #252 from adityacp/assignment_upload_checkPrabhu Ramachandran
Assignment upload Evaluation
2017-03-16Add test for assignment evaluation and Change test_modelsadityacp
2017-03-11made minor template changes and fixed test_modelsmaheshgudi
2017-03-10Fix test cases for trial quizadityacp
2017-03-10Add test for ordering of questionsadityacp
2017-03-10Change views and modelsadityacp
- Remove Fixed Question Model - Create a fixed question order attribute in models
2017-03-10Change models and views test to get fixed questionsadityacp
2017-03-09rebase changesmaheshgudi
2017-03-06Multiple fixes:ankitjavalkar
- Add error message details to SeleniumTestError - Fix next question cycling in models - Fix model test cases
2017-03-06Multiple changes:ankitjavalkar
- Fix movement from one question to another in next_question - Fix random display of errors from MCQs - Add Notification display if question has been attempted - Fix test cases for changes made
2017-03-06Rename completed_question model method to add_completed_questionankitjavalkar
2017-03-02removed pk/id based querying in test casesmaheshgudi
2017-01-13rectified the test for mcq incorrect.prathamesh
2017-01-13Fixed a bug which would mark all MCQ and MCC questions' answers as correctmaheshgudi
1. Due to the new evaluator, an unchecked bug, which marked all mcq and mcc attempts as correct, despite actually marking the wrong answer, has been fixed. 2. Added Test case to check for incorrect mcq and mcc questions 3. question.html would also render error msg for mcq and mcc questions. This has also been fixed.
2017-01-02Fix test case for models and code serveradityacp
2016-12-23Fix conflictadityacp
2016-12-23Change test for load_questions and consolidate_answer_data functionsadityacp
2016-12-22- Fix grade user rendering issue when question is skippedankitjavalkar
- Modify grade user html template to create readable variables for answer and error
2016-12-22Refactor check method for cleaner code and fixing multiple issuesankitjavalkar
- Question should skip to new question with new error rendering - Fix test cases Fix change_dir context manager in grader
2016-12-21Fix rendering and representation of errorsankitjavalkar
- Error are sent as list - Error are None if answer is fully correct - Error is rendered as in grade user and code questions as neat CSS divs - Fix corresponding test cases - Fix get_question answers in models.py
2016-12-20Fix errors and rename resourcesankitjavalkar
- code_evaluator module and class renamed to grader - Test cases fixed - Comments removed - weight variable renamed to mark
2016-12-20Fix model test casesankitjavalkar
2016-12-19Merge pull request #162 from prathamesh920/question-form-interfacePrabhu Ramachandran
Question form interface
2016-12-19changed default weight in model testcase to 1prathamesh
2016-12-01change in quiz model test to check instructionsadityacp
2016-11-16Change test_case weightage field name to weightankitjavalkar
2016-11-10Add point based weightage for partial grading instead of percentage based ↵ankitjavalkar
partial grading
2016-11-10Add partial grade mark for stdio test case and fix model test casesankitjavalkar
2016-09-30changed test cases for models as per python 3adityacp
2016-09-23Removed the test case for regrade code question from test_models for now.prathamesh
2016-09-23for test to passprathamesh
2016-09-23need to start code server for model tests.prathamesh
While testing regrade method for code questions, code server needs to serve.
2016-09-23Merge branch 'master' of https://github.com/FOSSEE/online_test into ↵prathamesh
regrade_papers Resolved Conflicts: yaksh/models.py yaksh/test_models.py yaksh/urls.py yaksh/views.py
2016-09-23Regrade Featureprathamesh
A question can be regraded for a given quiz. Whole quiz can be regraded. Particular user paper can be regraded. Moved validate_answer from views to models. regrade method also updates the answer i.e. marks and correctness. Also, the answer paper percentage is updated.
2016-09-02refactor in test_models and updated with latest changesadityacp
2016-09-01Merge pull request #105 from adityacp/stdin_stdout_evaluatorPrabhu Ramachandran
Stdin stdout evaluators
2016-08-31rebase with latest changesadityacp
2016-08-31Merge branch 'master' of https://github.com/FOSSEE/online_test into ↵prathamesh
view_answerpaper Resolved Conflicts: yaksh/views.py
2016-08-31Added testcases for model and view.prathamesh
2016-08-30changed load and dump test casesadityacp
2016-08-30removed extract_files and read_json files from viewsadityacp
2016-08-29Views sometimes use cent percent CPU, fixedprathamesh
After correct submission(POST) of code question, same question is shown for 2 seconds with a message "Correct Output". After 2 seconds, the same correctly answered question is resubmitted(GET) to the server.Since the question is already answered, it skips the question using the skip method of answerpaper. In skip method we have used cycle itertool, which loops in a cyclic manner, never ending. So it is terminated when we get a question match in an unanswered questions list with the submitted question. But the question is already answered so we never get a match and loop runs infinitely. So used list instead of cycle. Also, after correct answer, the user is to always get first question in the answered list of question instead of next question after the answered one. So changed the completed_question method of answerpaper.
2016-08-26changed function calls in testsadityacp
2016-08-25changed testcases to test questions dumpadityacp
2016-08-12Move tests.py to test_models.py.Prabhu Ramachandran