dart-add-unit-test
OfficialWrite reliable Dart tests with ease.
Authordart-lang
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Enable developers to validate Dart and Flutter code correctness through well-structured unit tests.
Core Features & Use Cases
- Structure tests to mirror lib/test organization to improve discoverability.
- Use group to organize related tests, setUp and tearDown for shared state, and expect for assertions.
- Integrate with Mockito for mocking and defining expectations in tests; supports async tests and integration with flutter_test when needed.
Quick Start
Create a test file under test/ that mirrors your lib/ directory, then run dart test to execute the suite.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: dart-add-unit-test Download link: https://github.com/dart-lang/skills/archive/main.zip#dart-add-unit-test Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.