Ravi Dev Pandey
Ravi Dev Pandey
The existing test for this file looks complete to me, though Codecov shows only 81%. @palisadoes can you please suggest which things can be added to the test ?
Sorry for unavailability. My laptop broke and had to buy a new one the last week. Please reassign to me, I'll complete this issue. Thanks.
Hello @palisadoes , using mockNetworkImage for the CachedNetworkImage always feeds it with an image and thus the errorWidget part of CachedNetworkImage can't be tested. That is what's lacking for now....
@noman2002 yeah the first method will never trigger any errors and thus the errorWidget can't be tested. I was asking if keeping that much of testing works or not. Otherwise...
@noman2002 so I implemented a MockCacheManager and can now test the error widget too. The only thing that remains is the imageBuilder. I don't know why but it doesn't show...
Sure. As I am working on another issue. If no one takes this even after I complete the issue I'm working on, I'll take this again and try to fix.
I would like to work on this issue. @palisadoes
@tamojitalwaysghosh what issue are you facing ?
@tamojitalwaysghosh you can join the community slack and have a look there. Moreover, there is well written documentation on using the Talawa ecosystem. Please have a look at INSTALLATION.md
@Ayush0Chaudhary I believe your reference of the view model is different then the one that the widget is using, I mean both are different instances. I was having the same...