Kingfisher
Kingfisher copied to clipboard
Add tests to KFImage
Currently, the KFImage
is the lack of tests. That causes a few regression such as #1567
Although it might be a bit tricky, adding tests should prevent that. I am not sure if there is a good way to test a SwiftUI View. If it is hard to add tests to KFImage
, at least we need some tests on ImageBinder
.
Hi @onevcat, Thanks for open sourcing this project and maintaining it.
We use it in our project and it would be great to mock the Kingfisher for screenshot tests.
Where would you recommend to start? I am happy to open a PR.
Thanks, Armen