Closed ra1028 closed 2 years ago
Thanks for opening this! You're totally right, after we split the framework into subspecs, there's nothing in the Core
spec that actually needs XCTest. This is a great update to make the core framework usable in more places.
Before I merge this, have you signed our CLA?
@NickEntin Thanks for taking a look at this. Signed!
Awesome, thanks Ryo! Merging this in now and will plan on pushing a new release soon (hopefully this evening).
Description
Removes XCTest as a dependency of the Core library.
Motivation and Context
I'm using AccessibilitySnapshot through PlaybookAccessibilitySnapshot. (Thanks for mentioning my library in the README before 😄 ). Recently, the increase in testing time to get the snapshots has become an issue. So, since my project uses Bazel as a build system, I am challenging the effort to use a remote cache for the reference snapshots. As a start, Bazel doesn't allow output from test runs as artifacts, so I need to output from the app simulator runtime instead of unit-test. I've already taken care of this in Playbook, but I want to change it so that we can run without XCTest in this library as well because PlaybookAccessibilitySnapshot depends on this library. Apparently, the Core library hasn't actually depended on XCTest, but since it was declared as a dependency, I removed it.