unit-test-mockery-suite

Community

Standardize Go unit tests with mocks and suites.

Authorcuenobi
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Generate and maintain deterministic unit tests for Go use cases by leveraging mockery-generated repository mocks and testify suite style to standardize testing structures across the codebase.

Core Features & Use Cases

  • Generates and refreshes mocks for repository interfaces located under internal/application/port/out.
  • Provides a suite-based testing pattern using testify's suite.Suite to structure tests and enforce TearDownTest validations.
  • Guides teams on how to add new tests, refactor fakes to mocks, and maintain consistent test quality across modules.

Quick Start

Run a focused test suite for a module using the go test command with an appropriate -run filter.

Dependency Matrix

Required Modules

None required

Components

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: unit-test-mockery-suite
Download link: https://github.com/cuenobi/golang-clean/archive/main.zip#unit-test-mockery-suite

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.