Skip to content
pubscout

convenient_test

1.6.2, released 8 months ago by cjycode.com

Write and debug Flutter tests with action history, time travel, screenshots, and video records.

WASM-ready
$ flutter pub add convenient_test
Source repository

What it does

A testing framework for Flutter that provides full action history, time travel with screenshots, video recordings, and retryability. It also allows running tests on host computers for faster execution and includes enhanced golden testing capabilities.

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

Use it when

  • You want to easily debug flaky or failing Flutter integration tests with rich error info and video records.
  • You need faster execution of tests by running them directly on your host computer.
  • You require advanced golden testing with tolerances and cropping.

Skip it when

  • You are looking for a simple unit-testing mock library without integration or GUI test runner requirements.

Strengths

  • Full action history and time travel with screenshots and video records.
  • Fast execution on host computers without changing test code.
  • Automatic retryability and isolation mode between tests.

Weaknesses

  • Documentation can be incomplete or require looking into issues.
  • Setup includes running a separate manager application/process alongside worker apps.

Setup

Kind
Flutter widgets
Effort
Medium
Code generation
No
Direct dependencies
1

Requires running a separate manager app/process alongside your worker app with specific VM service port arguments.

await t.get(find.byTooltip('Fetch Data From Backend')).tap();
await t.get(find.text('New Data')).should(findsOneWidget);

Alternatives

Packages that do the same job and could replace convenient_test.

  • test

    If you want standard Dart core unit and widget testing without a custom UI manager or video recording tools.