Skip to content

docs: add widget testing example#73

Open
xianjianlf2 wants to merge 1 commit into
jogboms:masterfrom
xianjianlf2:docs/offline-builder-widget-testing
Open

docs: add widget testing example#73
xianjianlf2 wants to merge 1 commit into
jogboms:masterfrom
xianjianlf2:docs/offline-builder-widget-testing

Conversation

@xianjianlf2

Copy link
Copy Markdown

Summary

  • Add a README example for widget testing OfflineBuilder.
  • Show how to inject fake Connectivity and NetworkInfo services with OfflineBuilder.initialize.
  • Document that tests should pump past the debounce duration before using finders.

Related to #41.

Validation

  • Not run locally: dart and flutter are not installed in this environment.
  • Verified the change is README-only.

@codecov

codecov Bot commented Jun 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (8062f54) to head (ce15e08).

Additional details and impacted files
@@            Coverage Diff            @@
##            master       #73   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            2         2           
  Lines           86        86           
=========================================
  Hits            86        86           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant