Top Testing packages
Testing utilities, mocking frameworks, and golden tests
| Rank | Package | Publisher | Description | Downloads / 30d | Stars | Likes |
|---|---|---|---|---|---|---|
| #1 | dart.dev | A full featured library for writing and running Dart tests across platforms. | 6,301,649 | ★ 529 | 620 | |
| #2 | felangel.dev | A Dart mock library which simplifies mocking with null safety support and no manual mocks or code generation. | 2,175,874 | ★ 695 | 1,228 | |
| #3 | dart.dev | A mock framework inspired by Mockito with APIs for Fakes, Mocks, behavior verification, and stubbing. | 1,768,649 | ★ 847 | 1,532 | |
| #4 | bloclibrary.dev | A testing library which makes it easy to test blocs. Built to be used with the bloc state management package. | 859,835 | ★ 12,447 | 661 | |
| #5 | widgetbook.io | Widgetbook is a sandbox for building widgets and screens in isolation. It helps you develop hard-to-reach states and edge cases without needing to run your app. | 336,122 | ★ 922 | 744 | |
| #6 | leancode.co | Log package for Patrol, a powerful Flutter-native UI testing framework.
| 287,349 | ★ 1,253 | 6 | |
| #7 | leancode.co | Streamlined, high-level API on top of flutter_test. | 282,030 | ★ 1,253 | 52 | |
| #8 | leancode.co | A powerful, multiplatform E2E UI testing framework for Flutter apps that overcomes the limitations of integration_test by handling native interactions.
| 243,616 | ★ 1,253 | 688 | |
| #9 | A library for generating fake data. faker is heavily inspired by the Python package faker and, the Ruby package ffaker. | 240,402 | ★ 246 | 940 | ||
| #10 | tools.dart.dev | Utilities for writing unit tests of Builders. | 208,061 | ★ 847 | 11 | |
| #11 | verygood.ventures | A Very Good Command-Line Interface for Dart created by Very Good Ventures. | 120,253 | ★ 2,374 | 719 | |
| #12 | felangel.dev | A Dart package which allows you to mock Image.network in your widget tests with confidence using the mocktail package. | 100,244 | ★ 695 | 64 | |
| #13 | leancode.co | Command-line tool for Patrol, a powerful Flutter-native UI testing framework.
| 52,326 | ★ 1,253 | 68 | |
| #14 | Versatile scriptable Web Server for real integration tests in Flutter, server, and Dart CLI applications | 47,777 | — | 25 | ||
| #15 | leushchenko.com | A BDD-style widget testing library. Generates Flutter widget tests from *.feature files. | 47,490 | ★ 112 | 182 | |
| #16 | leancode.co | A testing library for Blocs/Cubits which mixin BlocPresentationMixin. To be used with bloc_presentation package. | 31,461 | ★ 33 | 14 | |
| #17 | google.dev | Value types with builders, Dart classes as enums, and serialization. This library provides test support.
| 23,507 | ★ 885 | 3 | |
| #18 | whynotmake.it | Snap photos in your widget tests. | 23,007 | ★ 122 | 10 | |
| #19 | dutchcodingcompany.com | Run a test multiple times based on provided parameter list. Inspired by JUnit ParameterizedTest. | 19,695 | ★ 4 | 13 | |
| #20 | workiva.com | A Dart unit testing library for OverReact components that mimics the API of the JS react-testing-library | 19,422 | ★ 6 | 4 | |
| #21 | freshplatform.net | Test utilities for flutter_quill which includes methods to simplify interacting with the editor in test cases. | 18,713 | ★ 2,907 | 5 | |
| #22 | flutter.dev | A testing library which makes it easy to test flutter_svg. Built to be used with the flutter_svg package. | 18,028 | ★ 5,192 | 6 | |
| #23 | adil.hanney.org | Utilities to automate screenshot generation using Flutter's golden tests. | 17,924 | ★ 22 | 23 | |
| #24 | pasul.dev | A package for faking Dart/Flutter HttpClient's responses. It is handy for integration tests. Also it may help a lot during app development with an unstable back-end. | 17,217 | ★ 2 | 10 | |
| #25 | eronsoft.com | A testing library which makes it easy to test providers. Built to be used with the riverpod package. | 15,161 | ★ 13 | 27 | |
| #26 | glasberg.dev | The modern version of Redux. State management that's simple to learn and easy to use; Powerful enough to handle complex applications with millions of users; Testable. | 9,909 | ★ 239 | 156 | |
| #27 | A diff coverage tool. It provides a clear and achievable standard for code review: If you touch a line of code, that line should be covered. | 8,027 | ★ 10 | 20 | ||
| #28 | casvanluijtelaar.com | generate massive amounts of fake data in Dart & Flutter! A dart port of the famous faker.js | 7,641 | ★ 44 | 96 | |
| #29 | leancode.co | An MCP server that empowers AI assistants to control, automate, and monitor interactive Patrol development sessions in Flutter.
| 7,025 | ★ 1,253 | 22 | |
| #30 | A set of utility functions over mocktail library created to increase productivity over daily mocking/testing. | 4,681 | ★ 5 | 13 | ||
| #31 | olxgroup.com | CLI tool to speed up and simplify the process of running unit tests in Dart projects. | 3,497 | ★ 2 | 5 | |
| #32 | schultek.dev | Testing utilities for jaspr. | 3,279 | — | 0 | |
| #33 | elementaryteam.dev | A testing library which makes it easy to test elementary used apps. Built to be used with the elementary architecture package. | 2,435 | ★ 142 | 27 | |
| #34 | Add support for legacy matchers in `package:checks` expectations. | 1,981 | ★ 2 | 2 | ||
| #35 | Add typesafe support for legacy matchers from `package:flutter_test` to `package:checks` expectations. | 1,975 | — | 1 | ||
| #36 | that-dev.me | A testing library which makes it easy to test StateNotifier. Built to be used with the state_notifier, riverpod or flutter_riverpod packages. | 1,723 | ★ 8 | 22 | |
| #37 | A Flutter package for parsing pickle files and executing Cucumber steps in widget tests. | 1,502 | ★ 1 | 2 | ||
| #38 | A testing library which makes it easy to test providers. Built after bloc_test package. | 1,331 | ★ 0 | 10 | ||
| #39 | szktty.jp | A testing library for property-based testing, enabling custom test data generation, testing stateful systems, and integrating seamlessly with package:test. | 1,325 | ★ 11 | 5 | |
| #40 | tizen.org | Tizen implementation of the integration_test plugin. | 1,040 | — | 1 | |
| #41 | A utility Flutter plugin for writing golden tests that streamlines adding golden tests to your project | 976 | ★ 16 | 22 | ||
| #42 | dart-frog.dev | The official testing library for Dart Frog — a fast, minimalistic backend framework for Dart. | 852 | ★ 2,238 | 3 | |
| #43 | Utility for running golden tests on Widgetbook use cases. | 662 | — | 2 | ||
| #44 | shodev.live | Approval Tests implementation in Dart. Inspired by ApprovalTests. | 611 | ★ 14 | 25 | |
| #45 | inkpal.ai | Flutter MCP bridge for AI agents — runtime error capture, HTTP monitor, widget tree inspection, tap/type/screenshot. 33+ VM service extensions, zero deps. | 553 | ★ 1 | 4 | |
| #46 | primeholding.com | rx_bloc_cli that enables quick project setup including: flavors, localization [intl], state management [rx_bloc], routing [go_router], design system, analytics [firebase], tests | 514 | ★ 67 | 32 | |
| #47 | soneka96.com | A Dart CLI tool that wraps dart test, parses JSON output, and notifies you of the result — success, failure, or crash. | 513 | — | 2 | |
| #48 | Core utilities for running golden tests on Widgetbook use cases. | 500 | — | 0 | ||
| #49 | A set of utilities for simplifying golden (screenshot) test writing in Flutter. | 486 | — | 2 | ||
| #50 | Step-based test execution framework for Flutter integration tests with AI agent control. | 468 | — | 0 | ||
| #51 | Pure Dart LLM evaluation helpers for tests, including judge-based matchers, RAG scoring, and statistics. | 467 | — | 1 | ||
| #52 | Flutter integration test wrapper for testwire with hot-reload support. | 466 | — | 0 | ||
| #53 | thecodebrothers.pl | Stream testing library. Test async stream with ease. | 448 | — | 2 | |
| #54 | Capture Flutter widgets as PNG screenshots. CLI + AI skills for Claude Code, Cursor, Codex, and Antigravity. Figma-to-Flutter conversion with visual validation loop. | 431 | ★ 0 | 4 | ||
| #55 | glenfordwilliams.com | A package that provides a way to assert JSON objects. | 403 | ★ 0 | 3 | |
| #56 | ArchUnit-inspired architecture testing for Dart & Flutter. Enforce layer boundaries, slice isolation, cycles, coupling metrics, and violation baselines — all in plain Dart tests. | 362 | — | 2 | ||
| #57 | easazade.com | BEST faker package available for dart. One that the Dart community deserves. | 346 | ★ 9 | 6 | |
| #58 | flutter.dev | Java classes for testing Flutter apps using Espresso. Allows driving Flutter widgets from a native Espresso test. | 336 | ★ 5,192 | 26 | |
| #59 | duupr.io | No-code E2E orchestration framework for automated Flutter testing using VM Service extensions. | 324 | — | 0 | |
| #60 | hosseinzarei.com | A package for mocking online media in Flutter widget and integration tests. Ideal for simulating network responses and serving local media assets without relying on live resources. | 318 | — | 2 | |
| #61 | flutterando.com.br | Test Helper for Store of flutter_triple with Mocktail. | 312 | ★ 159 | 7 | |
| #62 | duupr.io | Headless CLI runner for automated Suupr Tests in CI/CD environments. | 302 | — | 0 | |
| #63 | glasberg.dev | 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. | 261 | ★ 17 | 27 | |
| #64 | christianfindlay.com | Clean, immutable Date and Time types. Separate types without the complexity of DateTime. | 242 | ★ 1 | 10 | |
| #65 | A property-based testing framework for Dart, inspired by QuickCheck and Hypothesis. Ported from jsproptest. | 239 | — | 3 | ||
| #66 | apadmi.com | A code generator to create Mockito compliant mocks of Riverpod Notifiers. | 223 | — | 1 | |
| #67 | gits.id | A gherkin / cucumber integration test runner flutter with gits_cli. | 209 | — | 3 | |
| #67 | A CLI for optimizing test execution and manipulating coverage trace files. Optimize tests, validate coverage, filter trace files, and generate HTML reports. | 209 | ★ 31 | 25 | ||
| #69 | primeholding.com | A Flutter package with the goal to enable testing rxBlocs from the FlutterRxBloc package with ease. | 193 | ★ 67 | 17 | |
| #70 | OptiTest — stable automation keys and testable widget wrappers for Flutter apps driven by Appium, Flutter Driver, or integration tests. | 176 | — | 1 | ||
| #71 | A simple and elegant tool to visualize Dart and Flutter test coverage reports | 153 | — | 1 | ||
| #72 | flutternaut.app | A concise Semantics wrapper for Flutter test automation. Provides named constructors for common UI patterns (buttons, inputs, text, list items, checkboxes). | 136 | — | 1 | |
| #73 | Annotation and runtime helpers for generating realistic mock instances of your Dart classes. Pairs with mockable_gen for build_runner code generation. | 135 | — | 2 | ||
| #74 | jneela.dev | A local mock API server for Flutter and Dart with YAML config, static/stateful routes, CRUD simulation, deterministic seeded data, and hot reload. | 134 | — | 1 | |
| #75 | Test helpers for flutter_stasis. captureStates, captureEvents, assertStateSequence and assertEventSequence. | 132 | — | 1 | ||
| #76 | caph.jp | Robot is a robot pattern testing library for Flutter. | 131 | ★ 5 | 9 | |
| #77 | usama.dev | A comprehensive command line toolkit for Flutter developers with interactive scripts, app signing utilities, performance testing, and platform-specific tools. Includes a modern dialer interface for easy script management. | 128 | ★ 5 | 11 | |
| #78 | Testing utilities, helpers and matchers for Flutty packages. | 119 | — | 2 | ||
| #79 | A Flutter package to generate adaptive golden files during widget tests. | 106 | — | 4 | ||
| #80 | Dart test extensions for cleaner, more expressive tests — ChangeNotifier state capture, mockito sugar, stream helpers, and widget test utilities. | 85 | — | 2 | ||
| #81 | sangik.o-r.kr | Annotation-based mock data generator for Dart. Add @Mockalization to classes to auto-generate realistic fake data with nullable, collection, and format support. | 80 | — | 2 | |
| #82 | philiprehberger.com | Visual snapshot testing for Flutter widgets with golden file comparison | 65 | — | 2 | |
| #83 | The Integration Test Helper has pre-configured methods that allow for faster test deployment for end to end (e2e) test coverage. | 60 | — | 11 | ||
| #84 | A Flutter package to auto-fill forms with Faker or AI-powered values. Supports text, images, dropdowns, and debug-only filler actions.
| 54 | — | 9 | ||
| #84 | samderlust.com | A Flutter package for Behavior-Driven Development (BDD) testing. | 54 | — | 2 | |
| #86 | richardcoutts.com | A Flutter approval-tests library for quickly writing unit, widget, and integration tests. | 52 | — | 7 | |
| #87 | an extension to the very helpful faker library that adds some extra functionality to make life just a little bit easier | 50 | — | 6 | ||
| #88 | A statistically rigorous benchmarking harness with median-based comparisons, CV% reliability metrics, and outlier-resistant measurements. | 48 | — | 3 | ||
| #89 | kazami.me | An intelligent test data generator for Flutter/Dart with schema-based generation, smart relationships, and comprehensive internationalization support. | 47 | — | 6 | |
| #90 | permanentlink.co.za | AppFlow CLI is a Dart-based command-line tool designed to automate the creation, management, and cleanup of scalable Flutter project structures for a flutter project. | 44 | — | 3 | |
| #91 | ultrawideturbodev.com | A gherkin integration test framework based on flutter's official integration_test package. | 43 | — | 3 | |
| #92 | A testing library which makes it easy to test providers. Built to be used with the riverpod package. | 41 | — | 5 | ||
| #93 | mehmetesen.com | Powerful random data generator for Dart. Generate numbers, text, names, passwords, colors, dates, and more. Perfect for testing, mocking, and games. | 37 | — | 4 | |
| #94 | samiershovo.me | Generate random fake data for user profiles, e-commerce products, and geolocations etc. | 36 | — | 8 | |
| #95 | Flutter app health CLI — crawls every screen, analyses widget trees, measures performance, detects bugs, and generates integration tests. | 29 | — | 6 | ||
| #96 | Faker Korean is generating fake data for test, or dummy data for Korean. | 25 | — | 8 |