Skip to content

arkulpaKonstantin/TestSnapshotHostApplication

Repository files navigation

TestSnapshotHostApplication

This is a sample project to show some weird behaviour with snapshot testing on a framework target.

The issue

The issue is that setting the host application of the framework testing target adds some additional top padding. But this is only the case for some simulators.

Without host application

Without the host application set on the framework testing target the top padding is set correctly independent of the used simulator.

iPhone 11 (14.5) simulator

iPhone 11 (14.5)

iPhone SE (2nd generation) (14.5) simulator

iPhone SE (2nd generation) (14.5)

With host application

With the host application set on the framework testing target the top padding is set incorrectly but depending on the used simulator.

iPhone 11 (14.5) simulator

iPhone 11 (14.5)

iPhone SE (2nd generation) (14.5) simulator

iPhone SE (2nd generation) (14.5)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published