{"action":"created","issue":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/4768","labels_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/4768/labels{/name}","comments_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/4768/comments","events_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/4768/events","html_url":"https://github.com/CenterForOpenScience/osf.io/issues/4768","id":122607145,"number":4768,"title":"optimize the test suite","user":{"login":"whit537","id":134455,"avatar_url":"https://avatars.githubusercontent.com/u/134455?v=3","gravatar_id":"","url":"https://api.github.com/users/whit537","html_url":"https://github.com/whit537","followers_url":"https://api.github.com/users/whit537/followers","following_url":"https://api.github.com/users/whit537/following{/other_user}","gists_url":"https://api.github.com/users/whit537/gists{/gist_id}","starred_url":"https://api.github.com/users/whit537/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whit537/subscriptions","organizations_url":"https://api.github.com/users/whit537/orgs","repos_url":"https://api.github.com/users/whit537/repos","events_url":"https://api.github.com/users/whit537/events{/privacy}","received_events_url":"https://api.github.com/users/whit537/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":23,"created_at":"2015-12-16T21:32:45Z","updated_at":"2015-12-17T19:46:26Z","closed_at":null,"body":"The test suite takes a loooooooonnnnnggggg time to run. I strongly suspect that we could cut it by an order of magnitude without too much effort. Here's some argument from authority about why fast tests are good:\r\n\r\n> The tests are what give you confidence in your code, and the ability to refactor with impunity, not fearing that your changes are breaking existing features. They are the safety net for our daily tight-rope walk across our code base.\r\n>\r\nBut if your test suite takes a quarter of an hour to run, that puts a severe damper on your willingness to run it often, or even at all. Those tests definitely don’t get run every few minutes. They might get run before you commit a change. More likely, they get run around the end of a development cycle, when the new work is preparing for deployment. Although they can still be marginally useful when run like that, they are a far cry from what they might be.\r\n\r\nhttps://signalvnoise.com/posts/2742-the-road-to-faster-tests"},"comment":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/comments/165562354","html_url":"https://github.com/CenterForOpenScience/osf.io/issues/4768#issuecomment-165562354","issue_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/4768","id":165562354,"user":{"login":"whit537","id":134455,"avatar_url":"https://avatars.githubusercontent.com/u/134455?v=3","gravatar_id":"","url":"https://api.github.com/users/whit537","html_url":"https://github.com/whit537","followers_url":"https://api.github.com/users/whit537/followers","following_url":"https://api.github.com/users/whit537/following{/other_user}","gists_url":"https://api.github.com/users/whit537/gists{/gist_id}","starred_url":"https://api.github.com/users/whit537/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whit537/subscriptions","organizations_url":"https://api.github.com/users/whit537/orgs","repos_url":"https://api.github.com/users/whit537/repos","events_url":"https://api.github.com/users/whit537/events{/privacy}","received_events_url":"https://api.github.com/users/whit537/received_events","type":"User","site_admin":false},"created_at":"2015-12-17T19:46:26Z","updated_at":"2015-12-17T19:46:26Z","body":"Let's log some `save` calls ..."}}