Baseflow / Baseflow/flutter_cache_manager

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

Aperta
#467 1 commento 2 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Dart
Stelle
809
Fork
510
Merge medio
6m
PR unite (30g)
1

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start with flutter_cache_manager/example/test/widget_test.dart and compare it with the outdated recipe described in the issue. Check the README to identify where a widget-testing recipe should be linked; done means the example works with the current API and the README points readers to it.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
dart, flutter
Ambito
documentation, testing
Tipo di issue
Documentazione
Difficoltà
2/5
Tempo stimato
1-3 ore
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.