Baseflow / Baseflow/flutter_cache_manager

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

Đang mở
#467 1 bình luận 2 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Dart
Star
809
Fork
510
Merge trung bình
6 phút
Pull request đã merge (30 ngày)
1

Mô tả

## 💬 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?)

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu với flutter_cache_manager/example/test/widget_test.dart và so sánh nó với công thức đã lỗi thời được mô tả trong issue. Kiểm tra README để xác định nơi nên liên kết đến công thức kiểm thử widget; hoàn thành có nghĩa là ví dụ hoạt động với API hiện tại và README hướng người đọc đến đó.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
dart, flutter
Lĩnh vực
documentation, testing
Loại issue
Tài liệu
Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.