Baseflow / Baseflow/flutter_cache_manager

Would be awesome to have a Widget Testing recipe in the readme!

未关闭
#467 1 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Dart
星标
809
派生
510
平均合并
6 分钟
30 天内合并 PR
1

描述

## 💬 Questions and Help

I was trying to follow on old [medium article](https://medium.com/flutter-community/golden-testing-using-cachednetworkimage-1b488c653af3) linked in a [stack overflow question](https://stackoverflow.com/questions/59408845/how-to-write-widget-test-for-cachednetworkimage-in-flutter) to figure out how to write a widget test for a component that relies on CacheManager.

Unfortunately, it seems like a new version significantly changed the API and the recipe provided there is all kinds of broken. I wonder if it would be possible for someone to link from the readme a recipe for how to write such a test (possibly by implementing https://github.com/Baseflow/flutter_cache_manager/blob/develop/flutter_cache_manager/example/test/widget_test.dart and linking to it?)

贡献指南

打开贡献指南

调研方向

从 flutter_cache_manager/example/test/widget_test.dart 开始,并将其与 issue 中描述的过时配方进行比较。检查 README,确定应在哪里链接 widget 测试配方;完成的标准是示例能够使用当前 API,并且 README 将读者指向该配方。

由索引模型根据 Issue 内容生成。

评估

技术栈
dart, flutter
领域
documentation, testing
Issue 类型
文档
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。