Skip to content
pubscout

flame_test

2.3.1, released 3 months ago by flame-engine.org

Classes and helpers for testing applications built with the Flame Engine.

$ flutter pub add flame_test
Source repository

What it does

Provides a set of useful helpers and utilities designed specifically for testing games and applications that use the Flame Engine. It is also used internally for testing parts of Flame itself.

AI-written summary of version 2.3.1, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You are writing unit or widget tests for a Flame game.
  • You need specialized utilities to test Flame components and games.

Skip it when

  • You are not using the Flame Engine in your application.
  • You only need standard Flutter widget testing without game engine features.

Strengths

  • Tailored specifically for the Flame game engine ecosystem.
  • Helps simplify testing loops and component behaviors in Flame.

Weaknesses

  • Strictly tied to the Flame engine; useless for non-Flame projects.
  • Documentation outside of the package description and repository is sparse.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
6

Add the dependency to your pubspec.yaml file alongside flutter_test and flame.

not documented

Alternatives

Packages that do the same job and could replace flame_test.

Works with

Packages commonly used together with flame_test: ones it builds on, ones built on it, and its own family.