Flutter Gems is a curated list of 6700+ useful Dart & Flutter packages that are categorized based on functionality.
Top Flutter Testing packages
Last updated: February 25, 2025
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.
coverage
👍 116 ⬇️ 6.4M
Dart 3 compatibleMaintenance Status: Good
Coverage data manipulation and formatting
platform
👍 107 ⬇️ 5.7M
Dart 3 compatibleMaintenance Status: Good
A pluggable, mockable platform information abstraction for Dart.
test
👍 580 ⬇️ 4.7M
Dart 3 compatibleMaintenance Status: Good
A full featured library for writing and running Dart tests across platforms.
mocktail
👍 1.13K ⬇️ 2.8M
Dart 3 compatibleMaintenance Status: Good
A Dart mock library which simplifies mocking with null safety support and no manual mocks or code generation.
process
👍 39 ⬇️ 4M
Dart 3 compatibleMaintenance Status: Good
A pluggable, mockable process invocation abstraction for Dart.
fake_async
👍 108 ⬇️ 3.3M
Dart 3 compatibleMaintenance Status: Good
Fake asynchronous events such as timers and microtasks for deterministic testing.
webdriver
👍 61 ⬇️ 3.2M
Dart 3 compatibleMaintenance Status: Good
Provides WebDriver bindings for Dart. Supports WebDriver JSON interface and W3C spec. Requires the use of WebDriver remote server.
file_testing
👍 4 ⬇️ 2.9M
Dart 3 compatibleMaintenance Status: Good
Testing utilities for package:file.
mockito
👍 1.42K ⬇️ 1.3M
Dart 3 compatibleMaintenance Status: Good
A mock framework inspired by Mockito with APIs for Fakes, Mocks, behavior verification, and stubbing.
faker
👍 864 ⬇️ 1.7M
Dart 3 compatibleMaintenance Status: Good
A library for generating fake data. faker is heavily inspired by the Python package faker and, the Ruby package ffaker.
matcher
👍 60 ⬇️ 2.5M
Dart 3 compatibleMaintenance Status: Good
Support for specifying test expectations via an extensible Matcher class. Also includes a number of built-in Matcher implementations for common cases.
global_assert
👍 6 ⬇️ 1.1M
Dart 3 compatibleMaintenance 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.
patrol
👍 580 ⬇️ 126.3K
Dart 3 compatibleMaintenance Status: Good
Powerful Flutter-native UI testing framework overcoming limitations of existing Flutter testing tools.
build_test
👍 10 ⬇️ 379.3K
Dart 3 compatibleMaintenance Status: Good
Utilities for writing unit tests of Builders.
http_mock_adapter
👍 166 ⬇️ 175.8K
Dart 3 compatibleMaintenance Status: Average
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.

inspector
👍 77 ⬇️ 180.8K
Dart 3 compatibleMaintenance Status: Average
A Flutter package for inspecting widgets. Useful for quick debugging or QA testing.
alchemist
👍 166 ⬇️ 71.6K
Dart 3 compatibleMaintenance Status: Good
A support package that aims to make golden testing in Flutter easier and more streamlined.

pixel_perfect
👍 220 ⬇️ 8.7K
Dart 3 compatibleMaintenance Status: Average
Development tool that helps you make your flutter application "pixel perfect"
test_descriptor
👍 3 ⬇️ 237.5K
Dart 3 compatibleMaintenance Status: Good
An API for defining and verifying files and directory structures.
network_image_mock
👍 61 ⬇️ 169.2K
Dart 3 compatibleMaintenance Status: Poor
Utility for providing mocked Image.network response in Flutter widget tests.
bdd_widget_test
👍 162 ⬇️ 45.9K
Dart 3 compatibleMaintenance Status: Good
A BDD-style widget testing library. Generates Flutter widget tests from *.feature files.
junitreport
👍 32 ⬇️ 184.4K
Dart 3 compatibleMaintenance Status: Poor
Generate JUnit XML reports from dart test runs. Transforms the output of dart or flutter tests to JUnit style XML
fake_cloud_firestore
👍 133 ⬇️ 59.5K
Dart 3 compatibleMaintenance Status: Good
Previously known as cloud_firestore_mocks. Fake implementation of Cloud Firestore. Use this package to unit test apps that use Cloud Firestore.
widgets_to_image
👍 171 ⬇️ 17.8K
Dart 3 compatibleMaintenance Status: Good
A simple package to convert any widgets into an image, everything in flutter is rendered pixel by pixel.
riverpod_test
👍 22 ⬇️ 178.7K
Dart 3 compatibleMaintenance Status: Good
A testing library which makes it easy to test providers. Built to be used with the riverpod package.
testreport
👍 3 ⬇️ 196.8K
Dart 3 compatibleMaintenance 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.
defer_pointer
👍 134 ⬇️ 35.6K
Dart 3 compatibleMaintenance Status: Poor
An alternative to Overlay which allows you to easily render and hit test a widget outside its parent bounds.
patrol_finders
👍 41 ⬇️ 134K
Dart 3 compatibleMaintenance Status: Good
Streamlined, high-level API on top of flutter_test.
react_testing_library
👍 4 ⬇️ 167.3K
Dart 3 compatibleMaintenance Status: Good
A Dart unit testing library for OverReact components that mimics the API of the JS react-testing-library
checks
👍 102 ⬇️ 54.8K
Dart 3 compatibleMaintenance Status: Average
A framework for checking values against expectations and building custom expectations.
flutter_gherkin
👍 134 ⬇️ 11.2K
Dart 3 compatibleMaintenance Status: Poor
A Gherkin / Cucumber parser and test runner for Dart and Flutter

convenient_test
👍 139 ⬇️ 5K
Dart 3 compatibleMaintenance Status: Good
Write and debug tests easily, with full action history, time travel, screenshots, rapid re-execution, video records, interactivity, isolation and more
flutter_automation
👍 135 ⬇️ 739
Dart 3 compatibleMaintenance Status: Poor
A flutter package that provides various automation scripts to help you with your flutter project.
benchmark_harness
👍 62 ⬇️ 78.6K
Dart 3 compatibleMaintenance Status: Good
The official Dart project benchmark harness.
firebase_auth_mocks
👍 99 ⬇️ 34.5K
Dart 3 compatibleMaintenance Status: Good
Fakes for Firebase Auth. Use this package with 'google_sign_in_mocks' to write unit tests involving Firebase Authentication.
mocktail_image_network
👍 59 ⬇️ 72.4K
Dart 3 compatibleMaintenance Status: Good
A Dart package which allows you to mock Image.network in your widget tests with confidence using the mocktail package.
mockingjay
👍 94 ⬇️ 33.5K
Dart 3 compatibleMaintenance Status: Good
A package that makes it easy to mock, test and verify navigation calls in Flutter.
over_react_test
👍 1 ⬇️ 129.2K
Dart 3 compatibleMaintenance Status: Good
A library for testing OverReact components
nock
👍 23 ⬇️ 97.2K
Dart 3 compatibleMaintenance Status: Average
HTTP requests mocking library for dart and flutter. Test your application in isolation.
faker_dart
👍 93 ⬇️ 3.7K
Dart 3 compatibleMaintenance Status: Good
generate massive amounts of fake data in Dart & Flutter! A dart port of the famous faker.js
remove_from_coverage
👍 36 ⬇️ 59.8K
Dart 3 compatibleMaintenance Status: Poor
A command-line tool to customize the contents of a coverage lcov.info file.
round_spot
👍 90 ⬇️ 57
Dart 3 compatibleMaintenance Status: Poor
Customizable, easy to use heat map interface analysis library
test_html_builder
👍 1 ⬇️ 93K
Dart 3 compatibleMaintenance Status: Good
Builder that generates HTML files from templates for dart browser tests.
gherkin
👍 40 ⬇️ 50.3K
Dart 3 compatibleMaintenance 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
spot
👍 73 ⬇️ 5.4K
Dart 3 compatibleMaintenance Status: Good
Flutter widget test toolkit - spot, act, validate. Better selectors, automatic screenshots, chainable.
patrol_cli
👍 59 ⬇️ 14.5K
Dart 3 compatibleMaintenance Status: Good
Command-line tool for Patrol, a powerful Flutter-native UI testing framework.
very_good_test_runner
👍 23 ⬇️ 51.5K
Dart 3 compatibleMaintenance Status: Good
A test runner for Flutter and Dart created by Very Good Ventures
benchmark
👍 30 ⬇️ 39.9K
Dart 3 compatibleMaintenance Status: Poor
A full featured library for writing and running Dart benchmarks.
mock_exceptions
👍 4 ⬇️ 67.8K
Dart 3 compatibleMaintenance 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.
spec
👍 47 ⬇️ 20.8K
Dart 3 compatibleMaintenance Status: Average
A streamlined testing framework for Dart & Flutter.
test_cov_console
👍 31 ⬇️ 36.7K
Dart 3 compatibleMaintenance Status: Poor
Command line utility to read lcov.info and print the coverage report to console.
transparent_pointer
👍 51 ⬇️ 10.9K
Dart 3 compatibleMaintenance Status: Good
Provides TransparentPointer to control hit testing
source_gen_test
👍 13 ⬇️ 50.5K
Dart 3 compatibleMaintenance Status: Good
Test support for the source_gen package. Includes helpers to make it easy to validate both success and failure cases.
cel
👍 5 ⬇️ 58K
Dart 3 compatibleMaintenance Status: Average
This project parses and evaluates Common Expression Language (CEL) programs against some inputs.
appium_driver
👍 23 ⬇️ 31.7K
Dart 3 compatibleMaintenance Status: Good
An Appium binding for Dart. Support WebDriver W3C spec inheriting webdriver.dart.
firebase_storage_mocks
👍 39 ⬇️ 12.1K
Dart 3 compatibleMaintenance Status: Good
Mocks for Firebase Storage. Use this package to write unit tests involving Firebase Storage.

honey
👍 46 ⬇️ 3.7K
Dart 3 compatibleMaintenance Status: Average
The sweet side of testing. An end to end testing framework for Flutter.
better_test_reporter
👍 6 ⬇️ 42.7K
Dart 3 compatibleMaintenance 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
multi_app_viewer
👍 45 ⬇️ 50
Dart 3 compatibleMaintenance Status: Average
Tool to view and navigate one app with different settings at the same time
nonce
👍 12 ⬇️ 35.1K
Dart 3 compatibleMaintenance Status: Poor
Nonce contains a static generator that generates random alphanumeric strings, and can be constructed as an object containing a generated string.
flutter_test_robots
👍 29 ⬇️ 16K
Dart 3 compatibleMaintenance Status: Good
Flutter test tools and extensions to simulate human-computer interactions
glados
👍 39 ⬇️ 4.3K
Dart 3 compatibleMaintenance Status: Average
A simple testing framework that tries to break your properties.
google_sign_in_mocks
👍 34 ⬇️ 9.1K
Dart 3 compatibleMaintenance Status: Average
Mocks for Google Sign In. Use this package with `firebase_auth_mocks` to write unit tests involving Firebase Authentication.
random_x
👍 39 ⬇️ 427
Dart 3 compatibleMaintenance Status: Poor
A Dart Library for all of your random needs you'll ever require in your projects.
cobertura
👍 6 ⬇️ 35.1K
Dart 3 compatibleMaintenance Status: Good
Converts LCOV to Cobertura format; the ideal format for GitHub and Azure DevOps.
flutter_auto_gui
👍 34 ⬇️ 35
Dart 3 compatibleMaintenance Status: Poor
A flutter plugin for desktop applications for controlling mouse and keyboard to automate interactions with other applications.
fluttium
👍 31 ⬇️ 204
Dart 3 compatibleMaintenance Status: Average
The core package for the Fluttium user flow testing framework
modular_test
👍 12 ⬇️ 20K
Dart 3 compatibleMaintenance Status: Poor
Smart project structure with dependency injection and route management
mock_data
👍 29 ⬇️ 933
Dart 3 compatibleMaintenance Status: Average
Generate random data using Dart. Can be used to create random strings, integers, names, colors, IPs, UUIDs, URLs and dates.
espresso
👍 25 ⬇️ 2.9K
Dart 3 compatibleMaintenance Status: Good
Java classes for testing Flutter apps using Espresso. Allows driving Flutter widgets from a native Espresso test.
elementary_test
👍 25 ⬇️ 2.5K
Dart 3 compatibleMaintenance Status: Good
A testing library which makes it easy to test elementary used apps. Built to be used with the elementary architecture package.
bdd_framework
👍 23 ⬇️ 3.9K
Dart 3 compatibleMaintenance 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.
lcov_dart
👍 1 ⬇️ 27.4K
Dart 3 compatibleMaintenance Status: Poor
Parse and format to LCOV your code coverage reports. The best way to share your code coverage stats.

figma_frame_inspector
👍 25 ⬇️ 73
Dart 3 compatibleMaintenance Status: Average
A Flutter plugin to verify how accurately the Figma frame was implemented in the app.
coverde
👍 25 ⬇️ 2
Dart 3 compatibleMaintenance Status: Average
A CLI for basic coverage trace files manipulation. Validate minimum coverage, filter trace files data by tested file paths and generate HTML coverage reports.
ogurets
👍 24 ⬇️ 61
Dart 3 compatibleMaintenance 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.
shouldly
👍 24 ⬇️ 33
Dart 3 compatibleMaintenance Status: Poor
A simple, extensible BDD assertion library which focuses on giving great error messages when the assertion fails.
lorem_ipsum
👍 18 ⬇️ 6.5K
Dart 3 compatibleMaintenance Status: Average
It is a package to generate random text easily, quickly and dynamically.
testsweets
👍 23 ⬇️ 227
Dart 3 compatibleMaintenance Status: Average
A no-code test automation tool that turns any tester into an automation engineer
state_notifier_test
👍 21 ⬇️ 2.2K
Dart 3 compatibleMaintenance Status: Average
A testing library which makes it easy to test StateNotifier. Built to be used with the state_notifier, riverpod or flutter_riverpod packages.
approval_tests
👍 21 ⬇️ 401
Dart 3 compatibleMaintenance Status: Good
Approval Tests implementation in Dart. Inspired by ApprovalTests.

fluttium_cli
👍 21 ⬇️ 188
Dart 3 compatibleMaintenance Status: Average
The CLI for Fluttium, a user flow testing framework for Flutter
random_name_generator
👍 19 ⬇️ 2.3K
Dart 3 compatibleMaintenance Status: Good
Dart package for the generation of Random Names, based on most common names
acyclic_steps
👍 19 ⬇️ 784
Dart 3 compatibleMaintenance Status: Good
An explicit acyclic step dependency framework with concurrent evaluation and dependency injection.
given_when_then
👍 14 ⬇️ 298
Dart 3 compatibleMaintenance Status: Poor
A Flutter package to enable code reuse while making tests more readable.
spec_cli
👍 9 ⬇️ 178
Dart 3 compatibleMaintenance Status: Average
CLI for Spec - a streamlined testing framework for Dart & Flutter.
fast_flutter_driver
👍 9 ⬇️ 73
Dart 3 compatibleMaintenance Status: Poor
Toolkit for running rapidly flutter driver tests on desktop.
dart_test_adapter
👍 7 ⬇️ 252
Dart 3 compatibleMaintenance Status: Poor
Provides a Dart API for interacting with 'dart test'/'flutter test' programatically
fast_flutter_driver_tool
👍 7 ⬇️ 100
Dart 3 compatibleMaintenance Status: Poor
Toolkit for running rapidly flutter driver tests on desktop.
flutster
👍 7 ⬇️ 82
Dart 3 compatibleMaintenance Status: Good
Record your Flutter UI tests using this Widget on Android. Save the UI tests to play them again automatically.
flame_test
👍 5 ⬇️ 2.1K
Dart 3 compatibleMaintenance Status: Good
A package with classes to help testing applications using Flame
ngtest
👍 3 ⬇️ 3.8K
Dart 3 compatibleMaintenance Status: Poor
Testing runner and library for AngularDart. This package is necessary to write component tests for AngularDart components.
flutter_faker_plus
👍 6 ⬇️ 228
Dart 3 compatibleMaintenance Status: Good
Generate random fake data for user profiles, e-commerce products, and geolocations etc.
conduit_test
👍 2 ⬇️ 870
Dart 3 compatibleMaintenance Status: Good
Utilities for writing automated tests for Conduit applications
stash_test
👍 0 ⬇️ 108
Dart 3 compatibleMaintenance Status: Good
Provides the testing support needed in order to implement extensions to the base stash package
state_queue_test
👍 0 ⬇️ 56
Dart 3 compatibleMaintenance Status: Poor
Testing utilities for 'StateQueue'
debug_friend
👍 58 ⬇️ 135
Maintenance Status: Average
Flutter debug helper widget with device info, common and custom actions.
test_coverage
👍 44 ⬇️ 186
Maintenance Status: Poor
Command line utility to run tests in Dart VM and collect coverage data.
page_object
👍 9 ⬇️ 2.1K
Maintenance Status: Poor
A Flutter package to help with implementing the Page Object pattern in a Flutter app..
integration_test_preview
👍 10 ⬇️ 52
Maintenance Status: Good
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).