XCTestExtensions

0.4.10

Extensions for commonly used functionality in UI tests using XCTest.
StanfordBDHG/XCTestExtensions

What's New

0.4.10

2024-02-22T17:42:31Z

What's Changed

  • Don't check for keyboard appearing on catalyst by @Supereg in #21

Full Changelog: 0.4.9...0.4.10

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

The project can be added to your Xcode project or Swift Package using the Swift Package Manager.

Xcode: For an Xcode project, follow the instructions on Adding package dependencies to your app.

Swift Package: You can follow the Swift Package Manager documentation about defining dependencies to add this project as a dependency to your 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

Description

  • Swift Tools 5.9.0
View More Packages from this Author

Dependencies

  • None
Last updated: Thu Apr 25 2024 05:25:49 GMT-0900 (Hawaii-Aleutian Daylight Time)