summaryrefslogtreecommitdiff
path: root/yaksh/tests
AgeCommit message (Collapse)Author
2017-08-04Completely rewrite the server pool.Prabhu Ramachandran
It is now much simpler. There are no xmlrpc servers anymore instead the tornado server takes a post request to submit a job asynchronously and the results are added to a shared dictionary. A get request can be used to check the status of a submitted job. This allows the submission and checking of code to be completely async and will make the application a lot more scalable.
2017-01-02Fix test case for models and code serveradityacp
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 model test casesankitjavalkar
2016-11-17Fix test cases to reflect changes in output messageankitjavalkar
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-10Fix test cases for partial grading featureankitjavalkar
2016-09-30Add unicode_literal import for Python2ankitjavalkar
2016-09-30Migrate python code server and evaluators to python 2/3 compatibleankitjavalkar
2016-09-21Place selenium script and unit tests in live_server_tests dirankitjavalkar
2016-09-21Remove commented codeankitjavalkar
2016-09-21Run the selenium and unit tests separatelyankitjavalkar
2016-09-21Modify selenium based test to accomodate create_demo_course commandankitjavalkar
2016-09-21- Change path of selenium testsankitjavalkar
- Add to travis
2016-08-12Use a tornado based server for the pool server.Prabhu Ramachandran
With the previous XMLRPC based server, an XMLRPC server would respond to a request for an available port. This does not work as the server can only take about 2 simultaneous connections. The server pool now uses a HTTP server via tornado which works extremely well. The django code should not change at all as this is an internal change. This change should make the code server far more robust and work for a very large number of simultaneous users. The http server also has a simple status page to indicate the current load. This will not be correct on OSX due to limitations of the multi-processing Queue implementation on OSX.
2016-08-12Add test case for code server.Prabhu Ramachandran
This currently fails when multiple threads ask for a code evaluation at the same time.