{"id":19635819,"url":"https://github.com/codepath/android-simple-test-demo","last_synced_at":"2025-04-28T08:31:11.771Z","repository":{"id":11435774,"uuid":"13891014","full_name":"codepath/android-simple-test-demo","owner":"codepath","description":"Simple Android App used for Demonstrating Testing (Week 5)","archived":false,"fork":false,"pushed_at":"2013-11-28T06:24:24.000Z","size":808,"stargazers_count":12,"open_issues_count":0,"forks_count":11,"subscribers_count":9,"default_branch":"master","last_synced_at":"2023-05-10T14:13:27.610Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codepath.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-10-26T21:01:31.000Z","updated_at":"2022-03-19T21:20:37.000Z","dependencies_parsed_at":"2022-09-19T19:20:59.504Z","dependency_job_id":null,"html_url":"https://github.com/codepath/android-simple-test-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codepath%2Fandroid-simple-test-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codepath%2Fandroid-simple-test-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codepath%2Fandroid-simple-test-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codepath%2Fandroid-simple-test-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codepath","download_url":"https://codeload.github.com/codepath/android-simple-test-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224102213,"owners_count":17256115,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T12:27:08.479Z","updated_at":"2024-11-11T12:27:10.031Z","avatar_url":"https://github.com/codepath.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# android-simple-test-demo\n\nSimple Android App used for Demonstrating Testing. \nSee our [Android Testing Guide](https://github.com/thecodepath/android_guides/wiki/Android-Unit-and-Integration-Testing).\n\n\u003cimg src=\"http://i.imgur.com/BhD9S8n.png\" width=\"350\" alt=\"Screen 1\" /\u003e\n\u0026nbsp;\n\u003cimg src=\"http://i.imgur.com/YOssiuC.png\" width=\"350\" alt=\"Screen 2\" /\u003e\n\nThis app is just two activities. The first has a text field and a button. When you type in the text field and hit the button, a second activity appears that displays the text entered.\n\n## Setup\n\n### Robolectric\n\n[Robolectric](https://github.com/thecodepath/android_guides/wiki/Robolectric-Installation-for-Unit-Testing) - Install robolectric, setup new project as explained and then link in the \"roboelectric-tests\" folder from this repo as a source folder. \n\n![Robolectric](http://i.imgur.com/Csa8mGK.png)\n\nTo run robolectric unit tests, right-click project and select `Run As =\u003e JUnit Test`\n\n### Robotium\n\n[Robotium](https://github.com/thecodepath/android_guides/wiki/Android-Unit-and-Integration-testing#robotium) - Select `File =\u003e Import =\u003e Existing Projects Into Workspace` and then select the \"robotium-tests\" folder. This loads the folder into eclipse. \n\n![Robotium](http://i.imgur.com/v0aCcqK.png)\n\nTo run robotium tests, right-click project and select `Run As =\u003e Android JUnit Test`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodepath%2Fandroid-simple-test-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodepath%2Fandroid-simple-test-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodepath%2Fandroid-simple-test-demo/lists"}