Skill / SKILL.md

testing

VeryGoodOpenSource/vgv-ai-flutter-plugin

Best practices for Dart unit tests, Flutter widget tests, and golden file tests, covering group and test naming, setUp lifecycle and isolation, mocking with package:mocktail, and the shared pumpApp helper. Use when writing, modifying, or reviewing tests, goldens included, that use package:test, package:flutter_test, package:mocktail, or package:bloc_test, and when no package is named: adding a golden test, matchesGoldenFile, tagging or updating goldens, writing a unit or widget test, or adding a test helper or mock. A one-line golden or widget test request is in scope, including under "Dart code only"; a widget in a UI package is ui-package's. Use it too when the request asks for what these standards forbid: package:mockito, a raw string test tag instead of TestTag, an inline pumpWidget(MaterialApp(...)), asserting padding, color or font size in a widget test, or state shared between tests.
2 views 181 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Best practices for Dart unit tests, Flutter widget tests, and golden file tests, covering group and test naming, setUp lifecycle and isolation, mocking with package:mocktail, and the shared pumpApp helper. Use when writing, modifying, or reviewing tests, goldens included, that use package:test, package:flutter_test, package:mocktail, or package:bloc_test, and when no package is named: adding a golden test, matchesGoldenFile, tagging or updating goldens, writing a unit or widget test, or adding a test helper or mock. A one-line golden or widget test request is in scope, including under "Dart code only"; a widget in a UI package is ui-package's. Use it too when the request asks for what these standards forbid: package:mockito, a raw string test tag instead of TestTag, an inline pumpWidget(MaterialApp(...)), asserting padding, color or font size in a widget test, or state shared between tests.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/VeryGoodOpenSource/vgv-ai-flutter-plugin' skill-source

Use the complete skill-source/plugin/skills/testing directory with your client’s skill installer.

  • plugin/skills/testing

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory plugin/skills/testing

Compatibility & requirements

Declared tools

Read Glob Grep mcp__very-good-cli__test

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
b6ece4efb67d36204976bd9b6135657274c1a9ddd290ac650785b21120e9a3eb
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills