Is there any tests code sample on Cached network manager? how we should write widget tests for it
I always have the same problem
Hi, does anyone successfully test integration test with CachedNetworkImage?
@renefloor any pointers on this one? Or do we just mock the dependencies.
That's indeed something that should be improved I think. With smaller unit tests you can mock the CacheManager in the image widget.
Any updates on this? What's the way to go here?
This blog post might help: https://medium.com/flutter-community/golden-testing-using-cachednetworkimage-1b488c653af3