Flutter Gems is a curated list of 7100+ useful Dart & Flutter packages that are categorized based on functionality.

Discord Medium LinkedIn X

Top Flutter Testing packages

Last updated: March 18, 2026

There are many ways to test a Flutter app, but some common methods include:

  • Unit testing: Unit tests focus on small pieces of code, or units, to ensure that they are working as expected.
  • Widget testing: Widget tests (or component tests) focus on testing a single widget at a time. The goal of a widget testing is to verify that the widget's UI looks and interacts as expected.
  • Integration testing: Itegration tests check how well units work together in an app.
  • User testing: User tests simulate how real users would interact with the app given in form of a user interaction workflow.

Testing can either be done manually or using automated tools. The complete list of Dart and Flutter packages given below provide tools/frameworks to perform Testing, Mock Testing, Widget Testing, UI Testing, etc. and also publish Coverage reports.


test
👍 619   ⬇️ 5.8M
Dart 3 compatible
Maintenance Status: Good

A full featured library for writing and running Dart tests across platforms.

coverage
👍 130   ⬇️ 5.5M
Dart 3 compatible
Maintenance Status: Good

Coverage data manipulation and formatting

matcher
👍 66   ⬇️ 5.5M
Dart 3 compatible
Maintenance Status: Good

Support for specifying test expectations via an extensible Matcher class. Also includes a number of built-in Matcher implementations for common cases.

platform
👍 116   ⬇️ 4.9M
Dart 3 compatible
Maintenance Status: Average

A pluggable, mockable platform information abstraction for Dart.

process
👍 42   ⬇️ 4.7M
Dart 3 compatible
Maintenance Status: Good

A pluggable, mockable process invocation abstraction for Dart.

fake_async
👍 118   ⬇️ 4.1M
Dart 3 compatible
Maintenance Status: Average

Fake asynchronous events such as timers and microtasks for deterministic testing.

webdriver
👍 63   ⬇️ 3.9M
Dart 3 compatible
Maintenance Status: Average

Provides WebDriver bindings for Dart. Supports WebDriver JSON interface and W3C spec. Requires the use of WebDriver remote server.

file_testing
👍 4   ⬇️ 3.7M
Dart 3 compatible
Maintenance Status: Average

Testing utilities for package:file.

mockito
👍 1.53K   ⬇️ 1.7M
Dart 3 compatible
Maintenance Status: Good

A mock framework inspired by Mockito with APIs for Fakes, Mocks, behavior verification, and stubbing.

mocktail
👍 1.22K   ⬇️ 1.8M
Dart 3 compatible
Maintenance Status: Average

A Dart mock library which simplifies mocking with null safety support and no manual mocks or code generation.

faker
👍 939   ⬇️ 254K
Dart 3 compatible
Maintenance Status: Average

A library for generating fake data. faker is heavily inspired by the Python package faker and, the Ruby package ffaker.

patrol
👍 671   ⬇️ 200.6K
Dart 3 compatible
Maintenance Status: Good

A powerful, multiplatform E2E UI testing framework for Flutter apps that overcomes the limitations of integration_test by handling native interactions.

inspector Card Image
inspector
👍 86   ⬇️ 348.7K
Dart 3 compatible
Maintenance Status: Good

A Flutter package for inspecting widgets. Useful for quick debugging or QA testing.

http_mock_adapter
👍 185   ⬇️ 204.6K
Dart 3 compatible
Maintenance Status: Poor

A simple to use mocking package for Dio intended to be used in tests. It provides various types and methods to declaratively mock request-response communication.

alchemist
👍 209   ⬇️ 146.3K
Dart 3 compatible
Maintenance Status: Good

A support package that aims to make golden testing in Flutter easier and more streamlined.

patrol_finders
👍 50   ⬇️ 240K
Dart 3 compatible
Maintenance Status: Good

Streamlined, high-level API on top of flutter_test.

fake_cloud_firestore
👍 138   ⬇️ 125.6K
Dart 3 compatible
Maintenance Status: Good

Previously known as cloud_firestore_mocks. Fake implementation of Cloud Firestore. Use this package to unit test apps that use Cloud Firestore.

network_image_mock
👍 65   ⬇️ 187K
Dart 3 compatible
Maintenance Status: Poor

Utility for providing mocked Image.network response in Flutter widget tests.

widgets_to_image
👍 221   ⬇️ 15.6K
Dart 3 compatible
Maintenance Status: Good

A powerful Flutter package to convert any widget into high-quality images with customizable formats, quality settings, and advanced features.

pixel_perfect
👍 222   ⬇️ 11.2K
Dart 3 compatible
Maintenance Status: Poor

Development tool that helps you make your flutter application "pixel perfect"

bdd_widget_test
👍 181   ⬇️ 52.8K
Dart 3 compatible
Maintenance Status: Good

A BDD-style widget testing library. Generates Flutter widget tests from *.feature files.

build_test
👍 11   ⬇️ 228.5K
Dart 3 compatible
Maintenance Status: Good

Utilities for writing unit tests of Builders.

defer_pointer
👍 155   ⬇️ 48.6K
Dart 3 compatible
Maintenance Status: Poor

An alternative to Overlay which allows you to easily render and hit test a widget outside its parent bounds.

junitreport
👍 36   ⬇️ 161.3K
Dart 3 compatible
Maintenance Status: Poor

Generate JUnit XML reports from dart test runs. Transforms the output of dart or flutter tests to JUnit style XML

checks
👍 116   ⬇️ 71.8K
Dart 3 compatible
Maintenance Status: Good

A framework for checking values against expectations and building custom expectations.

testreport
👍 3   ⬇️ 176.4K
Dart 3 compatible
Maintenance Status: Poor

This library can be used to process the results of dart tests. It processes data from the `json` output emitted by the dart test runner and provide an API to the test results.

convenient_test Card Image
convenient_test
👍 151   ⬇️ 9.5K
Dart 3 compatible
Maintenance Status: Good

Write and debug tests easily, with full action history, time travel, screenshots, rapid re-execution, video records, interactivity, isolation and more

firebase_auth_mocks
👍 104   ⬇️ 53.9K
Dart 3 compatible
Maintenance Status: Good

Fakes for Firebase Auth. Use this package with `google_sign_in_mocks` to write unit tests involving Firebase Authentication.

mocktail_image_network
👍 63   ⬇️ 96.3K
Dart 3 compatible
Maintenance Status: Average

A Dart package which allows you to mock Image.network in your widget tests with confidence using the mocktail package.

very_good_test_runner
👍 23   ⬇️ 135.6K
Dart 3 compatible
Maintenance Status: Average

A test runner for Flutter and Dart created by Very Good Ventures

flutter_automation
👍 141   ⬇️ 338
Dart 3 compatible
Maintenance Status: Poor

A flutter package that provides various automation scripts to help you with your flutter project.

flutter_gherkin
👍 135   ⬇️ 4.9K
Dart 3 compatible
Maintenance Status: Poor

A Gherkin / Cucumber parser and test runner for Dart and Flutter

mock_exceptions
👍 5   ⬇️ 140.3K
Dart 3 compatible
Maintenance Status: Poor

Provides a mechanism to throw exceptions on certain calls. This is useful when working with a Fake and we still want to occasionally make it throw exceptions.

benchmark_harness
👍 69   ⬇️ 62.5K
Dart 3 compatible
Maintenance Status: Good

The official Dart project benchmark harness.

mockingjay
👍 99   ⬇️ 27.4K
Dart 3 compatible
Maintenance Status: Good

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

spot
👍 110   ⬇️ 7.1K
Dart 3 compatible
Maintenance Status: Good

Flutter widget test toolkit - spot, act, validate. Better selectors, automatic screenshots, chainable.

test_descriptor
👍 4   ⬇️ 108.3K
Dart 3 compatible
Maintenance Status: Average

An API for defining and verifying files and directory structures.

faker_dart
👍 95   ⬇️ 6K
Dart 3 compatible
Maintenance Status: Good

generate massive amounts of fake data in Dart & Flutter! A dart port of the famous faker.js

benchmark
👍 32   ⬇️ 70.4K
Dart 3 compatible
Maintenance Status: Poor

A full featured library for writing and running Dart benchmarks.

patrol_cli
👍 65   ⬇️ 28.9K
Dart 3 compatible
Maintenance Status: Good

Command-line tool for Patrol, a powerful Flutter-native UI testing framework.

round_spot
👍 91   ⬇️ 45
Dart 3 compatible
Maintenance Status: Poor

Customizable, easy to use heat map interface analysis library

remove_from_coverage
👍 37   ⬇️ 53.8K
Dart 3 compatible
Maintenance Status: Poor

A command-line tool to customize the contents of a coverage lcov.info file.

source_gen_test
👍 13   ⬇️ 67.2K
Dart 3 compatible
Maintenance Status: Good

Test support for the source_gen package. Includes helpers to make it easy to validate both success and failure cases.

transparent_pointer
👍 60   ⬇️ 10K
Dart 3 compatible
Maintenance Status: Average

Provides TransparentPointer to control hit testing

spec
👍 48   ⬇️ 19.2K
Dart 3 compatible
Maintenance Status: Poor

A streamlined testing framework for Dart & Flutter.

nonce
👍 12   ⬇️ 55.7K
Dart 3 compatible
Maintenance Status: Poor

Nonce contains a static generator that generates random alphanumeric strings, and can be constructed as an object containing a generated string.

nock
👍 24   ⬇️ 41.4K
Dart 3 compatible
Maintenance Status: Poor

HTTP requests mocking library for dart and flutter. Test your application in isolation.

test_cov_console
👍 34   ⬇️ 29.8K
Dart 3 compatible
Maintenance Status: Poor

Command line utility to read lcov.info and print the coverage report to console.

gherkin
👍 40   ⬇️ 23.1K
Dart 3 compatible
Maintenance Status: Poor

A Gherkin parsers and runner for Dart which is very similar to Cucumber, it provides the base BDD functionality ready for use in platform specific implementations i.e. flutter/web

glados
👍 49   ⬇️ 10.6K
Dart 3 compatible
Maintenance Status: Poor

A simple testing framework that tries to break your properties.

honey
👍 48   ⬇️ 65
Dart 3 compatible
Maintenance Status: Poor

The sweet side of testing. An end to end testing framework for Flutter.

firebase_storage_mocks
👍 40   ⬇️ 7.7K
Dart 3 compatible
Maintenance Status: Good

Mocks for Firebase Storage. Use this package to write unit tests involving Firebase Storage.

multi_app_viewer
👍 47   ⬇️ 10
Dart 3 compatible
Maintenance Status: Poor

Tool to view and navigate one app with different settings at the same time

better_test_reporter
👍 6   ⬇️ 41.1K
Dart 3 compatible
Maintenance Status: Poor

A CLI for generating a junit xml report from dart test json output and libraries for parsing test json into dev-friendly models

cel
👍 6   ⬇️ 40.9K
Dart 3 compatible
Maintenance Status: Good

This project parses and evaluates Common Expression Language (CEL) programs against some inputs.

riverpod_test
👍 27   ⬇️ 16.7K
Dart 3 compatible
Maintenance Status: Good

A testing library which makes it easy to test providers. Built to be used with the riverpod package.

cobertura
👍 6   ⬇️ 37.1K
Dart 3 compatible
Maintenance Status: Average

Converts LCOV to Cobertura format; the ideal format for GitHub and Azure DevOps.

google_sign_in_mocks
👍 34   ⬇️ 7.6K
Dart 3 compatible
Maintenance Status: Good

Mocks for Google Sign In. Use this package with `firebase_auth_mocks` to write unit tests involving Firebase Authentication.

random_x
👍 39   ⬇️ 341
Dart 3 compatible
Maintenance Status: Poor

A Dart Library for all of your random needs you'll ever require in your projects.

react_testing_library
👍 4   ⬇️ 36.3K
Dart 3 compatible
Maintenance Status: Good

A Dart unit testing library for OverReact components that mimics the API of the JS react-testing-library

test_html_builder
👍 1   ⬇️ 35.2K
Dart 3 compatible
Maintenance Status: Good

Builder that generates HTML files from templates for dart browser tests.

flutter_auto_gui
👍 34   ⬇️ 50
Dart 3 compatible
Maintenance Status: Poor

A flutter plugin for desktop applications for controlling mouse and keyboard to automate interactions with other applications.

fluttium
👍 31   ⬇️ 1.4K
Dart 3 compatible
Maintenance Status: Poor

The core package for the Fluttium user flow testing framework

full_coverage
👍 24   ⬇️ 7.6K
Dart 3 compatible
Maintenance Status: Poor

A package script for allowing coverage test tool to see all Dart files.

over_react_test
👍 1   ⬇️ 31.7K
Dart 3 compatible
Maintenance Status: Good

A library for testing OverReact components

elementary_test
👍 27   ⬇️ 3K
Dart 3 compatible
Maintenance Status: Good

A testing library which makes it easy to test elementary used apps. Built to be used with the elementary architecture package.

mock_data
👍 29   ⬇️ 342
Dart 3 compatible
Maintenance Status: Poor

Generate random data using Dart. Can be used to create random strings, integers, names, colors, IPs, UUIDs, URLs and dates.

appium_driver
👍 23   ⬇️ 6.4K
Dart 3 compatible
Maintenance Status: Average

An Appium binding for Dart. Support WebDriver W3C spec inheriting webdriver.dart.

espresso
👍 26   ⬇️ 277
Dart 3 compatible
Maintenance Status: Good

Java classes for testing Flutter apps using Espresso. Allows driving Flutter widgets from a native Espresso test.

bdd_framework
👍 26   ⬇️ 261
Dart 3 compatible
Maintenance Status: Good

BDD framework for Dart/Flutter. Lets you create BDD tests in code, and gives you easy to read error messages when assertions fail. Exports to Gherkin/Cucumber feature files.

figma_frame_inspector
👍 25   ⬇️ 85
Dart 3 compatible
Maintenance Status: Poor

A Flutter plugin to verify how accurately the Figma frame was implemented in the app.

shouldly
👍 25   ⬇️ 50
Dart 3 compatible
Maintenance Status: Poor

A simple, extensible BDD assertion library which focuses on giving great error messages when the assertion fails.

coverde
👍 25   ⬇️ 47
Dart 3 compatible
Maintenance Status: Good

A CLI for optimizing test execution and manipulating coverage trace files. Optimize tests, validate coverage, filter trace files, and generate HTML reports.

approval_tests
👍 24   ⬇️ 760
Dart 3 compatible
Maintenance Status: Good

Approval Tests implementation in Dart. Inspired by ApprovalTests.

random_name_generator
👍 23   ⬇️ 1.5K
Dart 3 compatible
Maintenance Status: Average

Dart package for the generation of Random Names, based on most common names

testsweets
👍 24   ⬇️ 222
Dart 3 compatible
Maintenance Status: Poor

A no-code test automation tool that turns any tester into an automation engineer

ogurets
👍 24   ⬇️ 117
Dart 3 compatible
Maintenance Status: Poor

Gherkin/Cucumber implementation in dart, supporting classes and simple libraries, hooks, dependency injection, and all the things you would want in an easy to use format.

lorem_ipsum
👍 19   ⬇️ 4.9K
Dart 3 compatible
Maintenance Status: Poor

It is a package to generate random text easily, quickly and dynamically.

state_notifier_test
👍 22   ⬇️ 1.4K
Dart 3 compatible
Maintenance Status: Poor

A testing library which makes it easy to test StateNotifier. Built to be used with the state_notifier, riverpod or flutter_riverpod packages.

global_assert
👍 7   ⬇️ 15.8K
Dart 3 compatible
Maintenance Status: Poor

A micro-library that makes it easy to do build-time assertions about constants so that misconfigured apps fail at build-time instead of failing at runtime.

fluttium_cli
👍 21   ⬇️ 370
Dart 3 compatible
Maintenance Status: Poor

The CLI for Fluttium, a user flow testing framework for Flutter

modular_test
👍 12   ⬇️ 9.4K
Dart 3 compatible
Maintenance Status: Poor

Smart project structure with dependency injection and route management

acyclic_steps
👍 20   ⬇️ 718
Dart 3 compatible
Maintenance Status: Average

An explicit acyclic step dependency framework with concurrent evaluation and dependency injection.

given_when_then
👍 14   ⬇️ 38
Dart 3 compatible
Maintenance Status: Poor

A Flutter package to enable code reuse while making tests more readable.

lcov_dart
👍 1   ⬇️ 13.4K
Dart 3 compatible
Maintenance Status: Poor

Parse and format to LCOV your code coverage reports. The best way to share your code coverage stats.

flame_test
👍 6   ⬇️ 7.1K
Dart 3 compatible
Maintenance Status: Good

A package with classes to help testing applications using Flame

fast_flutter_driver
👍 9   ⬇️ 71
Dart 3 compatible
Maintenance Status: Poor

Toolkit for running rapidly flutter driver tests on desktop.

spec_cli
👍 9   ⬇️ 57
Dart 3 compatible
Maintenance Status: Poor

CLI for Spec - a streamlined testing framework for Dart & Flutter.

fast_flutter_driver_tool
👍 7   ⬇️ 159
Dart 3 compatible
Maintenance Status: Poor

Toolkit for running rapidly flutter driver tests on desktop.

dart_test_adapter
👍 7   ⬇️ 100
Dart 3 compatible
Maintenance Status: Poor

Provides a Dart API for interacting with `dart test`/`flutter test` programmatically

flutster
👍 7   ⬇️ 70
Dart 3 compatible
Maintenance Status: Average

Record your Flutter UI tests using this Widget on Android. Save the UI tests to play them again automatically.

flutter_faker_plus
👍 7   ⬇️ 48
Dart 3 compatible
Maintenance Status: Good

Generate random fake data for user profiles, e-commerce products, and geolocations etc.

ngtest
👍 3   ⬇️ 2.6K
Dart 3 compatible
Maintenance Status: Poor

Testing runner and library for AngularDart. This package is necessary to write component tests for AngularDart components.

conduit_test
👍 2   ⬇️ 1.2K
Dart 3 compatible
Maintenance Status: Good

Utilities for writing automated tests for Conduit applications

stash_test
👍 0   ⬇️ 225
Dart 3 compatible
Maintenance Status: Average

Provides the testing support needed in order to implement extensions to the base stash package

state_queue_test
👍 0   ⬇️ 68
Dart 3 compatible
Maintenance Status: Poor

Testing utilities for `StateQueue`

flutter_test_robots
👍 31   ⬇️ 36.9K

Maintenance Status: Good

Flutter test tools and extensions to simulate human-computer interactions

debug_friend
👍 58   ⬇️ 71

Maintenance Status: Poor

Flutter debug helper widget with device info, common and custom actions.

test_coverage
👍 44   ⬇️ 849

Maintenance Status: Poor

Command line utility to run tests in Dart VM and collect coverage data.

integration_test_preview
👍 11   ⬇️ 82

Maintenance Status: Average

Integration Test Preview has pre-configured methods that allow for faster test deployment for end to end (e2e) test coverage (using Android and iOS platform UIs).

page_object
👍 9   ⬇️ 1.3K

Maintenance Status: Poor

A Flutter package to help with implementing the Page Object pattern in a Flutter app..

flutter_ume_kit_ui
👍 5   ⬇️ 104

Maintenance Status: Poor

UI Kits for flutter_ume.