{"action":"created","issue":{"url":"https://api.github.com/repos/SystemsGenetics/KINC/issues/39","repository_url":"https://api.github.com/repos/SystemsGenetics/KINC","labels_url":"https://api.github.com/repos/SystemsGenetics/KINC/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/SystemsGenetics/KINC/issues/39/comments","events_url":"https://api.github.com/repos/SystemsGenetics/KINC/issues/39/events","html_url":"https://github.com/SystemsGenetics/KINC/issues/39","id":311381151,"number":39,"title":"Unit tests","user":{"login":"bentsherman","id":7884825,"avatar_url":"https://avatars2.githubusercontent.com/u/7884825?v=4","gravatar_id":"","url":"https://api.github.com/users/bentsherman","html_url":"https://github.com/bentsherman","followers_url":"https://api.github.com/users/bentsherman/followers","following_url":"https://api.github.com/users/bentsherman/following{/other_user}","gists_url":"https://api.github.com/users/bentsherman/gists{/gist_id}","starred_url":"https://api.github.com/users/bentsherman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bentsherman/subscriptions","organizations_url":"https://api.github.com/users/bentsherman/orgs","repos_url":"https://api.github.com/users/bentsherman/repos","events_url":"https://api.github.com/users/bentsherman/events{/privacy}","received_events_url":"https://api.github.com/users/bentsherman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/SystemsGenetics/KINC/milestones/1","html_url":"https://github.com/SystemsGenetics/KINC/milestone/1","labels_url":"https://api.github.com/repos/SystemsGenetics/KINC/milestones/1/labels","id":3379439,"number":1,"title":"3.3","description":null,"creator":{"login":"bentsherman","id":7884825,"avatar_url":"https://avatars2.githubusercontent.com/u/7884825?v=4","gravatar_id":"","url":"https://api.github.com/users/bentsherman","html_url":"https://github.com/bentsherman","followers_url":"https://api.github.com/users/bentsherman/followers","following_url":"https://api.github.com/users/bentsherman/following{/other_user}","gists_url":"https://api.github.com/users/bentsherman/gists{/gist_id}","starred_url":"https://api.github.com/users/bentsherman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bentsherman/subscriptions","organizations_url":"https://api.github.com/users/bentsherman/orgs","repos_url":"https://api.github.com/users/bentsherman/repos","events_url":"https://api.github.com/users/bentsherman/events{/privacy}","received_events_url":"https://api.github.com/users/bentsherman/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":0,"state":"open","created_at":"2018-05-28T00:19:12Z","updated_at":"2018-05-28T00:20:35Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2018-04-04T20:33:58Z","updated_at":"2018-05-30T16:33:44Z","closed_at":null,"author_association":"COLLABORATOR","body":"Need to develop a suite of unit tests as our code begins to solidify. Going to try to document some tests here so that I remember to develop them later:\r\n\r\nData types: test writing to file / reading from file\r\n- `CCMatrix`\r\n- `CorrelationMatrix`\r\n- `ExpressionMatrix`\r\n\r\nAlgorithms: test with small data (Iris / Yeast), verify results against other libraries (gsl, sklearn)\r\n- `GMM`\r\n- `KMeans`\r\n- `Pearson`\r\n- `Spearman`\r\n\r\nAnalytics: test all applicable capabilities with small data, verify results across capabilities\r\n- import/export\r\n- similarity\r\n- RMT\r\n- extract"},"comment":{"url":"https://api.github.com/repos/SystemsGenetics/KINC/issues/comments/393228493","html_url":"https://github.com/SystemsGenetics/KINC/issues/39#issuecomment-393228493","issue_url":"https://api.github.com/repos/SystemsGenetics/KINC/issues/39","id":393228493,"user":{"login":"bentsherman","id":7884825,"avatar_url":"https://avatars2.githubusercontent.com/u/7884825?v=4","gravatar_id":"","url":"https://api.github.com/users/bentsherman","html_url":"https://github.com/bentsherman","followers_url":"https://api.github.com/users/bentsherman/followers","following_url":"https://api.github.com/users/bentsherman/following{/other_user}","gists_url":"https://api.github.com/users/bentsherman/gists{/gist_id}","starred_url":"https://api.github.com/users/bentsherman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bentsherman/subscriptions","organizations_url":"https://api.github.com/users/bentsherman/orgs","repos_url":"https://api.github.com/users/bentsherman/repos","events_url":"https://api.github.com/users/bentsherman/events{/privacy}","received_events_url":"https://api.github.com/users/bentsherman/received_events","type":"User","site_admin":false},"created_at":"2018-05-30T16:33:44Z","updated_at":"2018-05-30T16:33:44Z","author_association":"COLLABORATOR","body":"I was almost able to upgrade one of my analytic unit tests (ImportExpressionMatrix) to ACE v3, but I can't find a way to run analytics synchronously because `QTimer` calls don't work in the unit tests.\r\n\r\nFrom some further research, I think the best course will be to follow Qt's suggested paradigm and split each test class into a separate executable and use `QTEST_MAIN` so that QTimer calls work. The alternative is to manually create a QApplication or QEventLoop but that route isn't immediately obvious to me."}}
{"actor":{"display_login":"bentsherman"}}