Skip to content

StanfordBDHG/XCTestExtensions

XCTestExtensions

Build and Test codecov DOI

This Swift Package provides convenient extension points to write tests using XCTest.

XCTestExtensions is a collection of extensions for commonly used functionality in UI tests using XCTest. You can learn more about XCTestExtensions in the API documentation. It includes the functionality to

  • delete & launch an application to reset the application
  • disable password autofill on an iOS simulator to avoid challenges with the text entry in secure text fields
  • enable a simple text entry in plain and secure text fields

The XCTestApp target enables writing test-based apps that can be verified in a UI test. You can learn more about XCTestApp in the API documentation.

Installation

You need to add the XCTestExtensions Swift package to your app in Xcode or Swift package.

License

This project is licensed under the MIT License. See Licenses for more information.

Contributors

This project is developed as part of the Stanford Byers Center for Biodesign at Stanford University. See CONTRIBUTORS.md for a full list of all XCTestExtensions contributors.

Stanford Byers Center for Biodesign Logo Stanford Byers Center for Biodesign Logo

Sponsor this project

Contributors

Languages