parley-messaging / ios-library

Parley iOS app library
MIT License
2 stars 2 forks source link

Add possibility to make screenshots of ParleyView #130

Closed nlamah closed 4 weeks ago

nlamah commented 1 month ago

ParleyView is instantiated by default with the necessary object from the sharedInstance of the Parly-type. In the test target it is possible to use stubs, so that there is full control on the output on the view.

nlamah commented 4 weeks ago

Thanks for this improvement.

On review we found one regression, please check that one.

Rest looks good to merge. Great to support screenshot tests 👍

This pull request will also give the possibility to make snapshots of the ParleyView with our appearance and discover quickly if there are regressions with version updates.

alexkok commented 4 weeks ago

Thanks, yeah the screenshots are great to test and verify with 👍