{"action":"created","issue":{"url":"https://api.github.com/repos/cyclestreets/android/issues/153","repository_url":"https://api.github.com/repos/cyclestreets/android","labels_url":"https://api.github.com/repos/cyclestreets/android/issues/153/labels{/name}","comments_url":"https://api.github.com/repos/cyclestreets/android/issues/153/comments","events_url":"https://api.github.com/repos/cyclestreets/android/issues/153/events","html_url":"https://github.com/cyclestreets/android/pull/153","id":177293333,"number":153,"title":"Add basic app startup tests using Espresso","user":{"login":"oliverlockwood","id":6017680,"avatar_url":"https://avatars.githubusercontent.com/u/6017680?v=3","gravatar_id":"","url":"https://api.github.com/users/oliverlockwood","html_url":"https://github.com/oliverlockwood","followers_url":"https://api.github.com/users/oliverlockwood/followers","following_url":"https://api.github.com/users/oliverlockwood/following{/other_user}","gists_url":"https://api.github.com/users/oliverlockwood/gists{/gist_id}","starred_url":"https://api.github.com/users/oliverlockwood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliverlockwood/subscriptions","organizations_url":"https://api.github.com/users/oliverlockwood/orgs","repos_url":"https://api.github.com/users/oliverlockwood/repos","events_url":"https://api.github.com/users/oliverlockwood/events{/privacy}","received_events_url":"https://api.github.com/users/oliverlockwood/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-15T21:22:09Z","updated_at":"2016-09-15T21:22:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cyclestreets/android/pulls/153","html_url":"https://github.com/cyclestreets/android/pull/153","diff_url":"https://github.com/cyclestreets/android/pull/153.diff","patch_url":"https://github.com/cyclestreets/android/pull/153.patch"},"body":"See https://google.github.io/android-testing-support-library/docs/espresso/index.html for details of Espresso.  It's the framework that was generally recommended by the helpful folks in the Android development community of practice where I work.\r\n\r\nWith these changes, **and either an emulator running or a real Android device connected**, you can run `./gradlew cyclestreets.vNext:connectedCheck`.  I have proved that this a valid test for app startup, since we know `master` is currently broken, and the test fails with just the changes in this PR, but passes once the bug fixes in #147 are merged in.\r\n\r\nI propose getting this PR (and for that matter #147!) in as-is.  Subsequently we can look at automating the creation, starting and stopping of an emulator on CI and/or local builds, so that this functional test (and others which will follow) can then become part of the build process."},"comment":{"url":"https://api.github.com/repos/cyclestreets/android/issues/comments/247459305","html_url":"https://github.com/cyclestreets/android/pull/153#issuecomment-247459305","issue_url":"https://api.github.com/repos/cyclestreets/android/issues/153","id":247459305,"user":{"login":"oliverlockwood","id":6017680,"avatar_url":"https://avatars.githubusercontent.com/u/6017680?v=3","gravatar_id":"","url":"https://api.github.com/users/oliverlockwood","html_url":"https://github.com/oliverlockwood","followers_url":"https://api.github.com/users/oliverlockwood/followers","following_url":"https://api.github.com/users/oliverlockwood/following{/other_user}","gists_url":"https://api.github.com/users/oliverlockwood/gists{/gist_id}","starred_url":"https://api.github.com/users/oliverlockwood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliverlockwood/subscriptions","organizations_url":"https://api.github.com/users/oliverlockwood/orgs","repos_url":"https://api.github.com/users/oliverlockwood/repos","events_url":"https://api.github.com/users/oliverlockwood/events{/privacy}","received_events_url":"https://api.github.com/users/oliverlockwood/received_events","type":"User","site_admin":false},"created_at":"2016-09-15T21:22:42Z","updated_at":"2016-09-15T21:22:42Z","body":"@mvl22 @jezhiggins when you get a chance, a review of this and the linked bug-fix PR would be handy.  Cheers guys."}}
{"actor":{"display_login":"oliverlockwood"}}