uber / ios-snapshot-test-case

Snapshot view unit tests for iOS
MIT License
1.79k stars 214 forks source link

[Question] Does anyone have a script for running all the snapshot tests for all devices? #141

Open astr0-4 opened 3 years ago

astr0-4 commented 3 years ago

I was wondering if anyone has a script that would go through all the test files, set recordMode = true, run the tests, and set recordMode = false again. Ideally this script would run a couple times for multiple simulators.

frank-okx commented 1 year ago

recordMode = ProcessInfo.processInfo.environment["RECORD_MODE"] == "true"