XCTest-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.
WKExtensionDelegateimplementation in your new watchOS app extension
Install with CocoaPods by adding the following to your
platform :watchos, '2.0' use_frameworks! pod 'XCTest-watchOS'
Install with Carthage by adding the following to your
carthage to build the framework and drag the built
XCTest.framework into your Xcode project.
Install with Swift Package Manager by adding the following to your
dependencies: [ .package(url: "https://github.com/dfed/XCTest-watchOS", from: "0.0.1"), ],
Or manually checkout the submodule with
git submodule add firstname.lastname@example.org:dfed/XCTest-watchOS.git, drag
XCTest.xcodeproj to your project, and add the
XCTest framework as a build dependency of your test watch app.
|Last commit: 3 weeks ago|