Skip to skills
AI Craft Pad
Home/Skills/Testing & QA/dart-add-unit-test
First-party source

Dart Add Unit Test

Test Dart logic with focused fixtures, readable organization and meaningful assertions.

Editorial note checked 2026-10-29 against this instruction snapshot. Supporting scripts and runtime behavior remain outside this editorial review.

What it does

The guide covers package:test structure, test execution and optional mocking. It is useful for a concrete function or class behavior rather than creating tests that simply mirror implementation details.

Best for

Dart developers adding a feature or preventing a reproduced regression.

Tradeoffs and requirements

Mocks can conceal incorrect integration assumptions. Passing assertions provide little value if they do not exercise the behavior users depend on.

Unknown; inspect source requirements and supporting scripts.

Install from the source

Inspect the pinned source snapshot and its supporting files first. The command selects this skill through the open-source skills CLI. Node.js and agent-specific setup may be required. Installation can download code. Catalog ingestion never executes skill instructions or install scripts.

npx skills add https://github.com/flutter/agent-plugins/tree/1bd8f2caa144c11b9153706c8de5f6d3e074b799/skills/dart-add-unit-test --skill dart-add-unit-test

Review pinned skill folder ↗ · CLI documentation ↗

After source review, use npx skills check and npx skills update to inspect and apply upstream updates. Re-check changed instructions before running them.

Safety & review signals

Static review only. This is not a security audit or a guarantee of safety.

SKILL.md text only; scripts, dependencies and runtime behavior not audited.

No configured text patterns matched. Unmatched or concealed behavior can still exist.

Allowed tools declaration: Unknown. Runtime permissions and network behavior: Unknown.

AI Craft Pad Skill Score

78/100 · Metadata coverage 80% · Model 1.0

Scores summarize observable discovery signals. Popularity and repository activity apply to the whole repository. Unknown runtime safety earns no certification.

Documentation
100/100
100
Maintenance
100/100
100
License Clarity
100/100
100
Repository Health
100/100
100
Compatibility Evidence
0/100
0
Popularity
63/100
63
Originality
80/100
80
Static Safety
60/100
60
Read the formula and limits →

Supporting-file static inspection

Bounded source inspection, not a runtime security audit. This inspection does not execute code.

0 text files inspected at this exact repository snapshot. 0 files outside the inspection budget or type allowlist. Dependencies were not installed or independently audited.

    Absence of a pattern is not proof of safety. Permission needs and runtime behavior remain Unknown.

    Inspected file inventory

      Suggested workflow

      Identify the expected behavior and failure case, construct minimal inputs and isolate only genuinely external dependencies.

      How to judge the result

      Run the targeted test and confirm that it fails against the known broken behavior, then inspect edge cases and asynchronous completion.

      Similar skills to compare

      Related by category; compare scope and dependencies before choosing an alternative.

      Testing & QA88/100

      test driven development

      obra/superpowers

      A test-first workflow for turning a specific behavior requirement into an observable failing case and a focused implementation.

      Community sourceMITEditorial review

      Repository star change: +1264 over 41.38 hours. 2026-10-31

      309,983 repo stars1 text flagReview ↗
      Testing & QA88/100

      verification before completion

      obra/superpowers

      A completion-check workflow that ties a claim such as fixed, passing or deployed to fresh evidence from the relevant system.

      Community sourceMITEditorial review

      Repository star change: +1264 over 41.38 hours. 2026-10-31

      309,983 repo stars0 text flagsReview ↗
      Testing & QA87/100

      ab test setup

      sickn33/agentic-awesome-skills

      Explore ab test setup as a testing & qa workflow from sickn33/agentic-awesome-skills. Compare its source, maintenance and review signals before choosing it for your agent.

      Community sourceMIT6 matching source records

      Repository star change: +147 over 41.38 hours. 2026-10-31

      48,907 repo stars1 text flagReview ↗

      More from this source

      Development78/100

      dart build cli app

      flutter/agent-plugins

      Design Dart command-line tools with explicit entrypoints, exit status and stream behavior.

      First-party sourceBSD-3-ClauseEditorial note

      Repository star change: +4 over 40.37 hours. 2026-10-31

      3,132 repo stars2 text flagsReview ↗
      Productivity & planning78/100

      dart collect coverage

      flutter/agent-plugins

      Collect Dart coverage and verify that the resulting LCOV report represents the intended tests.

      First-party sourceBSD-3-ClauseEditorial note

      Repository star change: +4 over 40.37 hours. 2026-10-31

      3,132 repo stars2 text flagsReview ↗
      Productivity & planning78/100

      dart fix runtime errors

      flutter/agent-plugins

      Trace a Dart runtime failure to its real stack and verify the corrected behavior.

      First-party sourceBSD-3-ClauseEditorial note

      Repository star change: +4 over 40.37 hours. 2026-10-31

      3,132 repo stars1 text flagReview ↗