PackageTrack
Sign in Get early access

mockingjay

A package that makes it easy to mock, test and verify navigation calls in Flutter.

2.1.0 28K downloads/mo #1908 most downloaded on pub.dev VeryGoodOpenSource/mockingjay

What this package is like to depend on

Last release 8 months ago

02 Dec 2025

Release timing varies

gaps range from 2 weeks to 1.4 years

Nearly every release is documented

notes for 10 of 10 stable releases

Nothing withdrawn

no release was ever pulled

5 years old

14 releases · first in 2021

1 release in the last 12 months

see the full history below

Release timeline

14 releases · Jul 2021 to Dec 2025
2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 14
  1. 2.1.0 02 Dec 2025
    Release notes

    chore: remove Flutter upper bound (#112)

    Open source →
    Release notes
    • fix: update constraint in pubspec.yaml (#101)
    • chore: v2.0.0 (#102)
    • chore(deps): bump very_good_analysis from 8.0.0 to 9.0.0 in /example (#104)
    • chore(deps): bump very_good_analysis from 8.0.0 to 9.0.0 (#103)
    • chore(deps): bump actions/checkout from 4 to 5 (#105)
    • chore(deps): bump very_good_analysis from 9.0.0 to 10.0.0 (#107)
    • chore(deps): bump actions/checkout from 5 to 6 (#108)
    • chore: upgrade dependencies to Dart 3.10.0, Flutter 3.38.1, test 1.26.3 (#110)
    Open source →
  2. 2.0.0 03 Jun 2025
    Release notes
    • chore!: upgrade to flutter 3.32.0 (#98)
    • fix: update constraint in pubspec.yaml (#101)

    Migration details

    Flutter 3.32.0 changed the signature of Navigator.removeRouteBelow which caused a compile time error flutter/flutter#157725.

    // Before:
    when(() => navigator.removeRouteBelow(any())).thenAnswer((_) {});
    
    // After:
    when(
      () => navigator.removeRouteBelow<Object?>(any(), any()),
    ).thenAnswer((_) {});
    Open source →
    Release notes

    Note: This release supports Flutter 3.32.0, for migration details see the release notes.

    • chore!: upgrade to flutter 3.32.0 (#98)
    • fix: update constraint in pubspec.yaml (#101)
    Open source →
  3. 1.0.0 19 Mar 2025
    Release notes
    • chore(deps): bump very_good_analysis from 6.0.0 to 7.0.0 in /example (#82)
    • chore!: remove deprecated parameter (#86)
    • chore: bumping very good analysis from 6.0.0 to 7.0.0 (#87)
    • feat: support removeRouteBelow method (#90)
    • chore: bumping flutter version to 3.29.0 and bumping example dependencies (#88)
    • fix: fixing formatting step (#92)

    Migration details

    The isRoute matcher named parameter has reached its full deprecation cycle, use whereName instead:

    // Before:
    isRoute(named: 'name');
    
    // After:
    isRoute(whereName: 'name');
    Open source →
    Release notes

    Note: This release supports Flutter 3.29.0. Contains a breaking change, where the isRoute named parameter has reached the full deprecation cycle.

    • chore(deps): bump very_good_analysis from 6.0.0 to 7.0.0 in /example (#82)
    • chore!: remove deprecated parameter (#86)
    • chore: bumping very good analysis from 6.0.0 to 7.0.0 (#87)
    • feat: support removeRouteBelow method (#90)
    • chore: bumping flutter version to 3.29.0 and bumping example dependencies (#88)
    • fix: fixing formatting step (#92)
    Open source →
  4. 0.6.0 27 Aug 2024
    Release notes
    • chore: sync min Dart SDK with min Flutter SDK (#70)
    • chore: tighten dependencies (#74)
    Open source →
    Release notes
    • chore: sync min Dart SDK with min Flutter SDK (#70)
    • chore: tighten dependencies (#74)
    Open source →
  5. 0.5.0 22 Nov 2023
    Release notes
    • chore(deps): bump very_good_analysis from 4.0.0+1 to 5.1.0 (#56)
    • chore: update Very Good Analysis to 5.1.0 (#57)
    • chore: updated sdk constraints for example (#60)
    • docs: update installation instructions readme (#61)
    • fix!: Updates for Flutter 3.16.0/Dart 3.2 (#65)

    Migration details

    This breaking change now requires users to mock the canPop method since it is being used internally by Flutter 3.16.0 (see flutter/flutter#132249).

    final navigator = MockNavigator();
    when(navigator.canPop).thenReturn(true); // New, previously not always required.

    In addition, if you were verifying the canPop calls you should now expect an additional call.

    verify(() => navigator.canPop()).called(1); // New, previously not always required.
    await tester.tap(find.byType(TextButton));
    verify(() => navigator.canPop()).called(1)
    Open source →
    Release notes

    Note: This release supports Flutter 3.16.0, for migration details see the release notes.

    • chore(deps): bump very_good_analysis from 4.0.0+1 to 5.1.0 (#56)
    • chore: update Very Good Analysis to 5.1.0 (#57)
    • chore: updated sdk constraints for example (#60)
    • docs: update installation instructions readme (#61)
    • fix!: Updates for Flutter 3.16.0/Dart 3.2 (#65)
    Open source →
  6. 0.4.0 18 Aug 2023
    Release notes
    • feat: support for mocktail ^1.0.0
    • feat: support for flutter 3.13.0
    • feat: sdk constraint to include Dart 3
    Open source →
    Release notes
    • feat: support for mocktail ^1.0.0
    • feat: support for flutter 3.13.0
    • feat: sdk constraint to include Dart 3
    Open source →
  7. 0.3.0 04 Apr 2022
    Release notes
    • feat: support for mocktail ^0.3.0
    Open source →
    Release notes
    • feat: support for mocktail ^0.3.0
    Open source →
  8. 0.3.0-dev.1 03 Mar 2022 pre-release
    Release notes
    • feat: support for mocktail ^0.3.0
    Open source →
  9. 0.2.0 30 Nov 2021
    Release notes
    • feat: add mock call for canPop (thanks @allisonryan0002!)
    • feat: add mock call for maybePop (thanks @korzonkiee!)
    • feat: add whereSettings, whereName, whereArguments, whereMaintainState and whereFullscreenDialog matcher arguments to isRoute matcher
    • DEPRECATE: fix: named argument on isRoute deprecated in favor of whereName
    Open source →
    Release notes
    • feat: add mock call for canPop (thanks @allisonryan0002!)
    • feat: add mock call for maybePop (thanks @korzonkiee!)
    • feat: add whereSettings, whereName, whereArguments, whereMaintainState and whereFullscreenDialog matcher arguments to isRoute matcher
    • DEPRECATE: fix: named argument on isRoute deprecated in favor of whereName
    Open source →
  10. 0.2.0-dev.3 19 Nov 2021 pre-release
    Release notes
    Open source →
  11. 0.2.0-dev.2 13 Oct 2021 pre-release
    Release notes
    • feat: add mock call for maybePop (thanks @korzonkiee!)
    Open source →
    Release notes
    • feat: add mock call for maybePop (thanks @korzonkiee!)
    Open source →
  12. 0.2.0-dev.1 11 Oct 2021 pre-release
    Release notes
    • feat: add whereSettings, whereName, whereArguments, whereMaintainState and whereFullscreenDialog matcher arguments to isRoute matcher
    • DEPRECATE: fix: named argument on isRoute deprecated in favor of whereName
    Open source →
  13. 0.1.1 09 Sep 2021
    Release notes
    Open source →
  14. 0.1.0 13 Jul 2021
    Release notes
    • feat: initial release 🎉
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive