{"repo":"cashapp/AccessibilitySnapshot","free":true,"listed":false,"github":"https://github.com/cashapp/AccessibilitySnapshot","clone":"git clone https://github.com/cashapp/AccessibilitySnapshot.git","description":"Easy regression testing for iOS accessibility","language":"Swift","stars":657,"topics":["ios","accessibility","testing","accessibility-testing","voiceover","uikit","snapshot-testing","a11y","objective-c","swift"],"license":"Apache-2.0","category":"mobile-apps","readme_excerpt":"AccessibilitySnapshot AccessibilitySnapshot makes it simple to add regression tests for accessibility in iOS apps. The framework builds on the idea of snapshot testing to provide snapshots of the accessibility hierarchy. Getting Started By default, AccessibilitySnapshot uses SnapshotTesting to record snapshots and perform comparisons. The framework also includes support for using iOSSnapshotTestCase as the snapshotting engine instead. Before setting up accessibility snapshot tests, make sure your project is set up for standard snapshot testing. Accessibility snapshot tests require that the test target has a host application. See the Extensions section below for a list of other available snapshotting options. Swift Package Manager Install with Swift Package Manager by adding the following to your Package.swift : Next, add AccessibilitySnapshot as a dependency to your test target: To use only the core accessibility parser, add a dependency on the Core library alone: To use iOSSnapshotTestCase to perform image comparisons, add a dependency on FBSnapshotTestCase+Accessibility for Swift testing or FBSnapshotTestCase+Accessibility-ObjC for Objective-C. Usage AccessibilitySnapshot builds on top of existing snapshot frameworks to add support for snapshotting your app's accessibility. By default it uses the SnapshotTesting framework for snapshotting, but can be switched over to iOSSnapshotTestCase as well. Getting Started with SnapshotTesting AccessibilitySnapshot provides an .accessi","default_branch":null,"files":null,"tree":[],"storefront":"/r/cashapp","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cashapp/AccessibilitySnapshot/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}