This repository was archived by the owner on Jan 13, 2022. It is now read-only.

Description
At the moment the framework renders test images in the device-specific resolution (dpi / context scale).
// the scale factor is set to the scale factor of the device’s main screen
UIGraphicsBeginImageContextWithOptions(bounds.size, NO, 0);
To allow snapshot-tests to run on both 2x and 3x devices we record and store snapshots for both 2x and 3x devices. This takes time and loads the repository with snapshots identical up to dpi.
I wonder whether the framework will work correctly with a fixed context scale (e.g. 2x)? Are there any pitfalls and/or performance issues?
I appreciate any comments regarding the question.