talira

Compare

mockitomocktail
What it isMock library for Dart, inspired by Java's MockitoMocks for Dart and Flutter tests without code generation
KindOpen sourceOpen source
Trust0.660.34
Stars871702
Last commit2026-11-242026-04-12
LicenceApache-2.0MIT
PricingFree and open sourceFree and open source
Free tierYesYes
Self-hostable——
Ways to run it——
SOC 2——
HIPAA——
SSO——
API——
Plugins——
MCP server——
CompanyGoogle
public company (NASDAQ:GOOGL)
Felix Angelov
Features
  • generated mock classes with build_runner
  • stubbing and behaviour verification
  • argument matchers and captors
  • fakes for classes you don't want to mock
  • mock Dart classes in tests without code generation
  • stub calls and verify how often they were made
  • null-safe API inspired by mockito
  • mock Image.network in Flutter widget tests