Skip to content
Swift UI testing framework
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
SwiftUITest.xcodeproj Add ElementType conversions for XCUITest May 9, 2019
SwiftUITest Fix from(index:) and use rawValue vs description (#3) May 16, 2019
Tests Fix from(index:) and use rawValue vs description (#3) May 16, 2019
.gitignore
Cartfile.private Add tests Apr 23, 2019
bitrise.yml Update bitrise.yml Apr 23, 2019
readme.md Fix readme script May 16, 2019

readme.md

Swift UI testing framework

Provides a pluggable abstraction over XCUITest and eventually EarlGrey. This allows changing UI test frameworks without having to rewrite tests.

  • brew install carthage
  • carthage bootstrap

Developing SwiftUITest

Run FunctionalTestRig once to get it installed on the simulator.

  • carthage bootstrap --no-build
  • open Carthage/Checkouts/EarlGrey/Tests/Functional/FunctionalTests.xcodeproj
  • Run FunctionalTestRig

Usage

Define a Cartfile

github "instructure/SwiftUITest" "master"

Reference SwiftUITest.framework built by Carthage.

  • Carthage/Build/iOS/SwiftUITest.framework

To Do

  • Move helper methods into SwiftUITest framework
  • Write tests for the helper methods using EarlGrey/Tests/FunctionalTests
  • Update canvas-ios to use the new helpers
You can’t perform that action at this time.