Skip to main content
flutter-dart-add-unit-testby FlutterOfficialDevelopmentGitHub stars: 3k

Dart Add Unit Test skill: what it does and how to install it

Creates and organises Dart and Flutter unit tests with package:test, including grouped cases, async checks, mocks and test commands.

Summary generated from the skill's documentation.

Install

$ npx skills add flutter/agent-plugins --skill dart-add-unit-test

Run it in a terminal. If your agent is already running, start a new session so it picks the skill up.

About this skill

What it does. Adds tests under test/ mirroring the library structure and uses package:test or Flutter's test package with groups, setup, assertions and asynchronous cases. It can configure Mockito-generated mocks, run the appropriate Dart or Flutter test command, and iterate on failures.

When to use it. When adding tests for Dart or Flutter functions, methods and classes, including regression coverage for bug fixes. Integration tests belong in integration_test/ and require an explicitly specified test path.

History

Repo stars

3kAbout +2.8k since 16 Jul 2026

Before 1 Oct 2026 the curve is estimated from public event data.

Stars are counted for the whole repository, which holds 25 skills.

Show as a table
Repo stars by day
DateRepo stars
1 Oct 20263,016
24 Sept 2026 (estimated)2,828
17 Sept 2026 (estimated)2,262
10 Sept 2026 (estimated)1,131
3 Sept 2026 (estimated)189
27 Aug 2026 (estimated)189
20 Aug 2026 (estimated)189
13 Aug 2026 (estimated)189
6 Aug 2026 (estimated)189
30 Jul 2026 (estimated)189
23 Jul 2026 (estimated)189
16 Jul 2026 (estimated)189

Installs

11k

Tracking since . A chart appears once there are 7 days of data.

Installs via skills.sh

Similar skills