Skip to content

feat: add widget tests and GitHub Actions CI#70

Merged
prahack merged 1 commit into
masterfrom
develop
Jun 6, 2026
Merged

feat: add widget tests and GitHub Actions CI#70
prahack merged 1 commit into
masterfrom
develop

Conversation

@prahack

@prahack prahack commented Jun 6, 2026

Copy link
Copy Markdown
Owner

Summary

  • 47 tests covering every public widget: smoke tests, isSender alignment, callback firing (onTap, onSend, onSwipeLeft/Right, onReplyTap, onPlayPauseButtonClick, onAddReactionTap, onReactionSelected), MessageBarStyle defaults and propagation, BubbleNormalAudio waveform branch, MessageGroupHelper grouping logic, and Algo.dateChipText formatting.
  • .github/workflows/ci.yml runs on push/PR to master and develop:
    • dart format --output=none --set-exit-if-changed lib/ test/
    • dart analyze --fatal-infos --fatal-warnings lib/ test/
    • flutter test
    • flutter pub publish --dry-run
  • Pinned to Flutter 3.27.0 stable to match the package SDK constraint.
  • CI status badge added to README.md.
  • Reformatted lib/ to clear the dart format check (leftover from dart fix --apply in v1.9.3).

Test plan

  • CI passes green on this PR
  • flutter test locally: 47/47 pass
  • dart format --output=none --set-exit-if-changed lib/ test/ reports 0 changes
  • dart analyze --fatal-infos lib/ test/ reports 0 issues
  • No impact on the published archive (.github/ excluded by .pubignore)

- Add 47 tests covering every public widget: smoke tests, isSender
  alignment, callback firing (onTap, onSend, onSwipe, onReply, onPlay,
  onAddReaction, onReactionSelected), MessageBarStyle defaults and
  propagation, BubbleNormalAudio waveform branch, MessageGroupHelper
  grouping logic, and Algo.dateChipText formatting
- Add .github/workflows/ci.yml running on every push/PR to master and
  develop: flutter pub get, dart format check, dart analyze with fatal
  infos, flutter test, and a publish dry-run
- Add CI status badge to README
- Reformat lib/ to match dart format defaults (clears CI format check)

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@prahack prahack merged commit a4fbd01 into master Jun 6, 2026
0 of 2 checks passed
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