{"action":"created","issue":{"url":"https://api.github.com/repos/MarkUsProject/Markus/issues/2362","labels_url":"https://api.github.com/repos/MarkUsProject/Markus/issues/2362/labels{/name}","comments_url":"https://api.github.com/repos/MarkUsProject/Markus/issues/2362/comments","events_url":"https://api.github.com/repos/MarkUsProject/Markus/issues/2362/events","html_url":"https://github.com/MarkUsProject/Markus/pull/2362","id":118138443,"number":2362,"title":"Test framework save testrun result","user":{"login":"jeremygoh","id":4348811,"avatar_url":"https://avatars.githubusercontent.com/u/4348811?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremygoh","html_url":"https://github.com/jeremygoh","followers_url":"https://api.github.com/users/jeremygoh/followers","following_url":"https://api.github.com/users/jeremygoh/following{/other_user}","gists_url":"https://api.github.com/users/jeremygoh/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremygoh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremygoh/subscriptions","organizations_url":"https://api.github.com/users/jeremygoh/orgs","repos_url":"https://api.github.com/users/jeremygoh/repos","events_url":"https://api.github.com/users/jeremygoh/events{/privacy}","received_events_url":"https://api.github.com/users/jeremygoh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-20T22:18:01Z","updated_at":"2015-11-23T01:40:01Z","closed_at":"2015-11-23T00:10:58Z","pull_request":{"url":"https://api.github.com/repos/MarkUsProject/Markus/pulls/2362","html_url":"https://github.com/MarkUsProject/Markus/pull/2362","diff_url":"https://github.com/MarkUsProject/Markus/pull/2362.diff","patch_url":"https://github.com/MarkUsProject/Markus/pull/2362.patch"},"body":"As discussed with @david-yz-liu , putting up this PR\r\n\r\n- rewrote `process_result` method to save results of a testrun into the database\r\n- saved it using the TestResult model. A number of the fields in this model don't make the most sense as it was originally intended to save the results of an individual unit test (e.g. completion status). In particular, I hacked a value for  `test_result.submission_id`\r\n- saved `test_result.actual_output` as json so we can move away from XML @reidka \r\n- removed XML parser from `Gemfile` and recreated `Gemfile.lock`\r\n"},"comment":{"url":"https://api.github.com/repos/MarkUsProject/Markus/issues/comments/158826665","html_url":"https://github.com/MarkUsProject/Markus/pull/2362#issuecomment-158826665","issue_url":"https://api.github.com/repos/MarkUsProject/Markus/issues/2362","id":158826665,"user":{"login":"david-yz-liu","id":3333115,"avatar_url":"https://avatars.githubusercontent.com/u/3333115?v=3","gravatar_id":"","url":"https://api.github.com/users/david-yz-liu","html_url":"https://github.com/david-yz-liu","followers_url":"https://api.github.com/users/david-yz-liu/followers","following_url":"https://api.github.com/users/david-yz-liu/following{/other_user}","gists_url":"https://api.github.com/users/david-yz-liu/gists{/gist_id}","starred_url":"https://api.github.com/users/david-yz-liu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/david-yz-liu/subscriptions","organizations_url":"https://api.github.com/users/david-yz-liu/orgs","repos_url":"https://api.github.com/users/david-yz-liu/repos","events_url":"https://api.github.com/users/david-yz-liu/events{/privacy}","received_events_url":"https://api.github.com/users/david-yz-liu/received_events","type":"User","site_admin":false},"created_at":"2015-11-23T01:40:01Z","updated_at":"2015-11-23T01:40:01Z","body":"Yes, I renamed the script_name and it's in the right place.\r\n\r\nAnd yes, drop the SSH."}}