Skip to content

test: increase test coverage across flutter_deck packages#184

Merged
mkobuolys merged 7 commits intomainfrom
jules-coverage-improvements-6910365168908224866
Mar 3, 2026
Merged

test: increase test coverage across flutter_deck packages#184
mkobuolys merged 7 commits intomainfrom
jules-coverage-improvements-6910365168908224866

Conversation

@mkobuolys
Copy link
Copy Markdown
Owner

This PR addresses the issue of missing code coverage across the flutter_deck monorepo.

Changes:

  • Added comprehensive unit and widget tests in packages/flutter_deck/test/ covering missing edge cases in UI and controllers (Autoplay, Presenter Controller, Transitions, LocalizedShortcutLabeler).
  • Added state testing in packages/flutter_deck_client/test/flutter_deck_state_test.dart to cover serialization and mutability paths.
  • Verified all tests pass on standard Flutter and Dart pipeline equivalents.

Notes:

  • We rely on build_runner for mock generation. .mocks.dart files remain uncommitted adhering to standard Flutter repository behavior where they are ignored in git.

PR created automatically by Jules for task 6910365168908224866 started by @mkobuolys

- Added extensive tests for `FlutterDeckBackground`, `FlutterDeckTransition`, plugins, notifiers, controls and presenters in the `flutter_deck` package.
- Added tests for `FlutterDeckState` in the `flutter_deck_client` package.
- Cleaned up mock dependencies by generating them with `build_runner` but not checking them in as per project guidelines.

Co-authored-by: mkobuolys <17415795+mkobuolys@users.noreply.github.com>
@google-labs-jules
Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@mkobuolys mkobuolys marked this pull request as ready for review March 3, 2026 21:46
@mkobuolys mkobuolys merged commit 4ba2f13 into main Mar 3, 2026
4 checks passed
@mkobuolys mkobuolys deleted the jules-coverage-improvements-6910365168908224866 branch March 3, 2026 22:33
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