Skip to content

test(amplify_push): add Dart and Android unit tests#7078

Open
ekjotmultani wants to merge 1 commit into
feat/amplify-push-v3from
feat/amplify-push-v3-tests
Open

test(amplify_push): add Dart and Android unit tests#7078
ekjotmultani wants to merge 1 commit into
feat/amplify-push-v3from
feat/amplify-push-v3-tests

Conversation

@ekjotmultani

Copy link
Copy Markdown
Member

Unit tests for amplify_push, split out for review scoping. Stacked on #6985 (targets feat/amplify-push-v3), so the diff shows only the test files; rebased onto main once #6985 merges.

  • Dart unit tests (client, flutter API, exception mapping, message parsing)
  • Android (Kotlin) unit tests (plugin, background service, stream handler, notification utils, Firebase messaging)

Verified locally: 31 Dart tests pass; analyzer clean. (Android unit tests run in CI on main once the example + tests coexist.)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@codecov-commenter

codecov-commenter commented Jun 30, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 42.83%. Comparing base (48cb67a) to head (849c1a6).

Additional details and impacted files
@@                   Coverage Diff                    @@
##           feat/amplify-push-v3    #7078      +/-   ##
========================================================
- Coverage                 43.23%   42.83%   -0.40%     
========================================================
  Files                        99      105       +6     
  Lines                      7769     8252     +483     
  Branches                   3401     3602     +201     
========================================================
+ Hits                       3359     3535     +176     
- Misses                     4410     4717     +307     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@ekjotmultani ekjotmultani marked this pull request as ready for review June 30, 2026 19:27
@ekjotmultani ekjotmultani requested a review from a team as a code owner June 30, 2026 19:27
@ekjotmultani ekjotmultani force-pushed the feat/amplify-push-v3-tests branch from ca8cdeb to 849c1a6 Compare June 30, 2026 22:37
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.

2 participants