Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add TestTool for compare snapshot diffs without dependency #15

Open
2 tasks done
ra1028 opened this issue Mar 23, 2020 · 1 comment
Open
2 tasks done

Add TestTool for compare snapshot diffs without dependency #15

ra1028 opened this issue Mar 23, 2020 · 1 comment

Comments

@ra1028
Copy link
Member

ra1028 commented Mar 23, 2020

Checklist

  • Reviewed the README and documents.
  • Searched existing issues for ensure not duplicated.

Description

Add a new TestTool compare snapshot diffs without dependency like pointfreeco/swift-snapshot-testing and uber/ios-snapshot-test-case.

Motivation and Context

Visual regression tests using third-party tools such as reg-suit are powerful, but a framework that can be used more simply on unit tests is needed.

Proposed Solution

Playbook.default.run(
    SnapshotCompare(devices: [.iPhone11Pro(.portrait)])
)
@hufkens
Copy link

hufkens commented Feb 16, 2022

I was also expecting that the current snapshot would fail of the new snapshots were different then the originals. This would be a big plus of the Scenarios could be used as actual SnapShot Tests.

Another nice feature would be to have a device profile that just ignores the height so that a scrollable Scenario can be captures completely.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants