{"action":"created","issue":{"url":"https://api.github.com/repos/keystonejs/keystone/issues/888","repository_url":"https://api.github.com/repos/keystonejs/keystone","labels_url":"https://api.github.com/repos/keystonejs/keystone/issues/888/labels{/name}","comments_url":"https://api.github.com/repos/keystonejs/keystone/issues/888/comments","events_url":"https://api.github.com/repos/keystonejs/keystone/issues/888/events","html_url":"https://github.com/keystonejs/keystone/issues/888","id":53969299,"number":888,"title":"How to unit test models, views and routes?","user":{"login":"jamlen","id":3593671,"avatar_url":"https://avatars.githubusercontent.com/u/3593671?v=3","gravatar_id":"","url":"https://api.github.com/users/jamlen","html_url":"https://github.com/jamlen","followers_url":"https://api.github.com/users/jamlen/followers","following_url":"https://api.github.com/users/jamlen/following{/other_user}","gists_url":"https://api.github.com/users/jamlen/gists{/gist_id}","starred_url":"https://api.github.com/users/jamlen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamlen/subscriptions","organizations_url":"https://api.github.com/users/jamlen/orgs","repos_url":"https://api.github.com/users/jamlen/repos","events_url":"https://api.github.com/users/jamlen/events{/privacy}","received_events_url":"https://api.github.com/users/jamlen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-01-10T19:54:52Z","updated_at":"2016-04-29T09:30:21Z","closed_at":"2016-04-29T09:30:20Z","body":"Dusting off #216 I wondered if there was any progress on it but also how are people going about testing their models, views and routes? Some documented guides would be nice and actually the Yeoman Generator should scaffold tests with the appropriate keystone helpers.\r\n\r\nI am especially interesting in testing the `models` and `views`.\r\n\r\nHave any of you written any `keystone-helpers` for testing?"},"comment":{"url":"https://api.github.com/repos/keystonejs/keystone/issues/comments/215668418","html_url":"https://github.com/keystonejs/keystone/issues/888#issuecomment-215668418","issue_url":"https://api.github.com/repos/keystonejs/keystone/issues/888","id":215668418,"user":{"login":"mxstbr","id":7525670,"avatar_url":"https://avatars.githubusercontent.com/u/7525670?v=3","gravatar_id":"","url":"https://api.github.com/users/mxstbr","html_url":"https://github.com/mxstbr","followers_url":"https://api.github.com/users/mxstbr/followers","following_url":"https://api.github.com/users/mxstbr/following{/other_user}","gists_url":"https://api.github.com/users/mxstbr/gists{/gist_id}","starred_url":"https://api.github.com/users/mxstbr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mxstbr/subscriptions","organizations_url":"https://api.github.com/users/mxstbr/orgs","repos_url":"https://api.github.com/users/mxstbr/repos","events_url":"https://api.github.com/users/mxstbr/events{/privacy}","received_events_url":"https://api.github.com/users/mxstbr/received_events","type":"User","site_admin":false},"created_at":"2016-04-29T09:30:20Z","updated_at":"2016-04-29T09:30:20Z","body":"@webteckie has done a ton of work on this, so I'll close this for now as we don't need the issue to remind us to do it. :+1: "}}