{"id":17195421,"url":"https://github.com/dfed/xctest-watchos","last_synced_at":"2025-06-15T23:06:24.190Z","repository":{"id":42441776,"uuid":"146371150","full_name":"dfed/XCTest-watchOS","owner":"dfed","description":"XCTest-watchOS provides an implementation of XCTest that can run on watchOS","archived":false,"fork":false,"pushed_at":"2024-10-29T00:48:05.000Z","size":47,"stargazers_count":19,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-06T04:48:48.979Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dfed.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"Contributing.md","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}},"created_at":"2018-08-28T00:48:05.000Z","updated_at":"2024-10-29T00:48:03.000Z","dependencies_parsed_at":"2024-10-29T01:29:37.116Z","dependency_job_id":"bc5bcf72-6cd9-413d-b19b-8c9f494c6e16","html_url":"https://github.com/dfed/XCTest-watchOS","commit_stats":{"total_commits":31,"total_committers":4,"mean_commits":7.75,"dds":0.5806451612903225,"last_synced_commit":"6f38e3226f0108fc5656a84be7dbf36be8e3dd3c"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfed%2FXCTest-watchOS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfed%2FXCTest-watchOS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfed%2FXCTest-watchOS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfed%2FXCTest-watchOS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dfed","download_url":"https://codeload.github.com/dfed/XCTest-watchOS/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248767900,"owners_count":21158555,"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-10-15T01:50:24.625Z","updated_at":"2025-04-13T19:31:29.858Z","avatar_url":"https://github.com/dfed.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# XCTest-watchOS\n\n[![CI Status](https://img.shields.io/github/actions/workflow/status/dfed/XCTest-watchOS/ci.yml?branch=master)](https://github.com/dfed/XCTest-watchOS/actions?query=workflow%3ACI+branch%3Amaster)\n[![Carthage Compatibility](https://img.shields.io/badge/carthage-✓-e2c245.svg)](https://github.com/Carthage/Carthage/)\n[![Version](https://img.shields.io/cocoapods/v/XCTest-watchOS.svg)](https://cocoapods.org/pods/XCTest-watchOS)\n[![License](https://img.shields.io/cocoapods/l/XCTest-watchOS.svg)](https://cocoapods.org/pods/XCTest-watchOS)\n[![Platform](https://img.shields.io/cocoapods/p/XCTest-watchOS.svg)](https://cocoapods.org/pods/XCTest-watchOS)\n\nXCTest-watchOS provides an implementation of XCTest that can run on watchOS. XCTest-watchOS allows you to run your library’s existing `XCTest` suite on watchOS with minimal effort.\n\n## Getting Started\n\n1. Create a new watchOS app\n1. Include your test files in your new watchOS app extension\n1. Install XCTest-watchOS, and link the included XCTest framework from your new watchOS app extension\n1. Call `XCTestCase.runAllTestsAndExit()` from `applicationDidFinishLaunching` in your `WKExtensionDelegate` implementation in your new watchOS app extension\n1. Run your new watchOS app, and see if your tests succeed\n\n### CocoaPods\n\nInstall with [CocoaPods](http://cocoapods.org) by adding the following to your `Podfile`:\n\n```\nplatform :watchos, '2.0'\nuse_frameworks!\npod 'XCTest-watchOS'\n```\n\n### Carthage\n\nInstall with [Carthage](https://github.com/Carthage/Carthage) by adding the following to your `Cartfile`:\n\n```ogdl\ngithub \"dfed/XCTest-watchOS\"\n```\n\nRun `carthage` to build the framework and drag the built `XCTest.framework` into your Xcode project.\n\n### Swift Package Manager\n\nInstall with [Swift Package Manager](https://github.com/apple/swift-package-manager) by adding the following to your `Package.swift`:\n\n```swift\ndependencies: [\n    .package(url: \"https://github.com/dfed/XCTest-watchOS\", from: \"0.0.1\"),\n],\n```\n\n### Submodules\n\nOr manually checkout the submodule with `git submodule add git@github.com:dfed/XCTest-watchOS.git`, drag `XCTest.xcodeproj` to your project, and add the `XCTest` framework as a build dependency of your test watch app.\n\n## Requirements\n\n* Xcode 9.0 or later.\n* watchOS 2 or later.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfed%2Fxctest-watchos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdfed%2Fxctest-watchos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfed%2Fxctest-watchos/lists"}