Kingfisher icon indicating copy to clipboard operation
Kingfisher copied to clipboard

Add tests to KFImage

Open onevcat opened this issue 4 years ago • 1 comments

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.

onevcat avatar Nov 27 '20 01:11 onevcat

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

Armenm avatar Jan 27 '22 16:01 Armenm