Skip to content
D

dart-add-unit-test

Write and organize unit tests for functions, methods, and classes

by dart-langFree

#4195in AI Skills
0In stores

Description

dart-add-unit-test is an agent skill from the Dart team's skills collection, listed on skills.sh. It helps an AI agent write and organize un…

Highlights

  • Unit tests with package:test
  • Test files mirror the lib directory
  • Separate integration_test directory
  • Covers Dart and Flutter code

Ratings & Reviews

No ratings yet

Be the first to rate dart-add-unit-test.

People also visit

F

flutter-testing-apps

Implements unit, widget, and integration tests for a Flutter app

AI Skills
Get
F

flutter-testing

Write, fix, review, debug, and validate Flutter tests for apps, packages

AI Skills
Get
D

dart-collect-coverage

Collect coverage using the coverage packge and create an LCOV report

AI Skills
Get
T

test-master

Generates test files, creates mocking strategies, analyzes code coverage

AI Skills
Get
F

flutter-add-widget-test

Implement a component-level test

AI Skills
Get
D

dart-generate-test-mocks

Define and generate mock objects for external dependencies

AI Skills
Get

dart-add-unit-test FAQ

What does the dart-add-unit-test skill do?

It helps an AI agent write and organize unit tests for Dart and Flutter code, using package:test.

How do I install it?

Run: npx skills add https://github.com/dart-lang/skills --skill dart-add-unit-test

Is it free?

Yes. The skill is listed as free on skills.sh.

Where do test files go?

In the test directory at the package root, mirroring lib, with names ending in _test.dart. Integration tests go in integration_test.

Which testing library does it use?

package:test, which the skill names as the standard testing library for Dart applications.

What are the best dart-add-unit-test alternatives?

Popular alternatives to dart-add-unit-test include flutter-testing-apps, flutter-testing and dart-collect-coverage. See all dart-add-unit-test alternatives

Developer Stuff

Badges