{"id":19308045,"url":"https://github.com/pgssoft/automate-appbuddy","last_synced_at":"2025-08-12T16:40:38.481Z","repository":{"id":17931486,"uuid":"83021952","full_name":"PGSSoft/AutoMate-AppBuddy","owner":"PGSSoft","description":"iOS UI automation tests helper framework, designed to work with the AutoMate","archived":false,"fork":false,"pushed_at":"2023-11-22T09:05:28.000Z","size":357,"stargazers_count":31,"open_issues_count":1,"forks_count":5,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-07-27T12:09:44.648Z","etag":null,"topics":["automation","ios","swift-framework","uiautomation","xctest","xcuitest"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PGSSoft.png","metadata":{"files":{"readme":"README.md","changelog":"Changelog.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-02-24T08:57:30.000Z","updated_at":"2024-09-19T01:11:29.000Z","dependencies_parsed_at":"2022-08-07T09:00:24.562Z","dependency_job_id":"26eb78fe-b86d-4b3c-9a6a-86aa328647de","html_url":"https://github.com/PGSSoft/AutoMate-AppBuddy","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/PGSSoft/AutoMate-AppBuddy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PGSSoft%2FAutoMate-AppBuddy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PGSSoft%2FAutoMate-AppBuddy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PGSSoft%2FAutoMate-AppBuddy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PGSSoft%2FAutoMate-AppBuddy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PGSSoft","download_url":"https://codeload.github.com/PGSSoft/AutoMate-AppBuddy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PGSSoft%2FAutoMate-AppBuddy/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270099349,"owners_count":24527028,"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","status":"online","status_checked_at":"2025-08-12T02:00:09.011Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["automation","ios","swift-framework","uiautomation","xctest","xcuitest"],"created_at":"2024-11-10T00:13:26.581Z","updated_at":"2025-08-12T16:40:38.422Z","avatar_url":"https://github.com/PGSSoft.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"assets/logo.png\" alt=\"AutoMate, made by PGS Software\" /\u003e\n    \u003cbr /\u003e\n    \u003cimg src=\"assets/made-with-love-by-PGS.png\" /\u003e\n    \u003cp\u003e\n      \u003ca href=\"https://github.com/PGSSoft/AutoMate\"\u003eAutoMate\u003c/a\u003e \u0026bull;\n      \u003cb\u003eAppBuddy\u003c/b\u003e \u0026bull;\n      \u003ca href=\"https://github.com/PGSSoft/AutoMate-Templates\"\u003eTemplates\u003c/a\u003e \u0026bull;\n      \u003ca href=\"https://github.com/PGSSoft/AutoMate-ModelGenie\"\u003eModelGenie\u003c/a\u003e\n    \u003c/p\u003e\n\u003c/div\u003e\n\n# AutoMate AppBuddy\n\n`AppBuddy` is a helper framework for UI automation tests, designed to work with the [`AutoMate`](https://github.com/PGSSoft/AutoMate). It can disable animations in the application and manage events, reminders and contacts.\n\n[![Swift 5](https://img.shields.io/badge/Swift-5-orange.svg?style=flat)](https://swift.org)\n[![Travis](https://img.shields.io/travis/PGSSoft/AutoMate-AppBuddy.svg)](https://travis-ci.org/PGSSoft/AutoMate-AppBuddy)\n[![CocoaPods Compatible](https://img.shields.io/cocoapods/v/AutoMate-AppBuddy.svg)](https://cocoapods.org/pods/AutoMate-AppBuddy)\n[![Documentation](https://img.shields.io/badge/docs-100%25-D15B45.svg?style=flat)](https://pgssoft.github.io/AutoMate-AppBuddy/)\n[![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)\n[![Platform](https://img.shields.io/cocoapods/p/AutoMate-AppBuddy.svg)](https://cocoapods.org/pods/AutoMate-AppBuddy)\n[![License](https://img.shields.io/github/license/PGSSoft/AutoMate-AppBuddy.svg)](https://github.com/PGSSoft/AutoMate-AppBuddy/blob/master/LICENSE)\n\n## Installation\n\n### CocoaPods\n\nThe most convenient way to install it is by using [CocoaPods](https://cocoapods.org) with Podfile:\n\n```ruby\npod 'AutoMate-AppBuddy'\n```\n\n### Carthage\nFor Carthage [Carthage](https://github.com/Carthage/Carthage) add a line to `Cartfile.private`:\n\n```\ngithub \"PGSSoft/AutoMate-AppBuddy\"\n```\n\n`Cartfile.private` should be used because AutoMate framework will be used by UI Tests target only not by the tested application.\n\n### Swift Package Manager\nYou can just add AutoMate AppBuddy package to your project by entering it's repository URL\n\n```\nhttps://github.com/PGSSoft/AutoMate-AppBuddy\n```\n\n### Note\n\n`AppBuddy` should be linked with target application, not with the test target.\n\n## Usage\n\nFull documentation is available at [https://pgssoft.github.io/AutoMate-AppBuddy/](https://pgssoft.github.io/AutoMate-AppBuddy/).\n\n1. Duplicate existing application target.\n2. Import `AutoMate_AppBuddy` framework to app delegate.\n\n    ```swift\n    import AutoMate_AppBuddy\n    ```\n\n3. Setup `LaunchEnvironmentManager` in `application(_:didFinishLaunchingWithOptions:)`.\n\n    ```swift\n    let launchEnvironmentManager = LaunchEnvironmentManager()\n    launchEnvironmentManager.add(handler: defaultEventKitHander, for: .events)\n    launchEnvironmentManager.add(handler: defaultEventKitHander, for: .reminders)\n    launchEnvironmentManager.add(handler: defaultContactsHander, for: .contacts)\n    launchEnvironmentManager.add(handler: defaultIsInUITestHandler, for: .isInUITest)\n    launchEnvironmentManager.add(handler: AnimationHandler(), for: .animation)\n    launchEnvironmentManager.setup()\n    ```\n\n## Features (or ToDo)\n\n- [x] Disable UIView animations\n- [x] Managing events, reminders and contacts\n- [ ] Two way communication\n- [ ] Stubbing network requests\n- [ ] Stubbing contacts, events and reminders\n- [ ] Stubbing notifications\n- [ ] Taking screenshots\n- [ ] Clearing application data\n- [ ] Simulating push notifications\n\n## Example application\n\n[`AutoMate`](https://github.com/PGSSoft/AutoMate) repository contains example application under `AutoMateExample` directory. Structure of the application is simple, but the project contains extensive suite of UI tests to showcase capabilities of the library.\n\n## Development\n\nFull documentation is available at [https://pgssoft.github.io/AutoMate-AppBuddy/](https://pgssoft.github.io/AutoMate-AppBuddy/).\n\nIf you want to handle your custom launch environments, you have to implement `Handler` protocol, e.g.\n\n```swift\nstruct CustomHandler: Handler {\n    func handle(key: String, value: String) {\n        if value == \"production\" {\n\n        }\n    }\n}\n\nlaunchEnvironmentManager.add(handler: CustomHandler(), for: \"SERVER\")\n```\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at [https://github.com/PGSSoft/AutoMate-AppBuddy](https://github.com/PGSSoft/AutoMate-AppBuddy).\n\n## License\n\nThe project is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n\n## About\nThe project maintained by software development agency [PGS Software](https://www.pgs-soft.com).\nSee our other [open-source projects](https://github.com/PGSSoft) or [contact us](https://www.pgs-soft.com/contact-us) to develop your product.\n\n## Follow us\n\n[![Twitter URL](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=https://github.com/PGSSoft/AutoMate-AppBuddy)  \n[![Twitter Follow](https://img.shields.io/twitter/follow/pgssoftware.svg?style=social\u0026label=Follow)](https://twitter.com/pgssoftware)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpgssoft%2Fautomate-appbuddy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpgssoft%2Fautomate-appbuddy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpgssoft%2Fautomate-appbuddy/lists"}