Lightlines
By dart-lang

dart-add-unit-test

dart-lang

Keep your Dart logic correct as it evolves.

software testing

What it does

Write and organize regression-free unit tests for Dart and Flutter logic.

When to use it

Use when creating new logic or fixing bugs to ensure code remains correct and regression-free.

How to use it

It changes how the agent creates, organizes, and runs tests in a Dart or Flutter project.

What you provide

  • An existing project

Access · 0

No additional actions listed in the analysis.

What you need · 5

The project needs the `package:test` testing library for standard Dart tests.

The Dart CLI is needed to run tests in a pure Dart project or integration tests.

The Flutter CLI is needed to run tests in a Flutter project or Flutter integration tests.

Flutter projects may use `package:flutter_test/flutter_test.dart` instead of the standard Dart test import.


About this skill

Visibility
Public
Repository
dart-lang/skills
Created
Oct 8, 2026
Updated
Oct 8, 2026
Files
1