no-duplication

Community

Eliminate Go test duplication and prune testdata.

AuthorDisble
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Eliminate duplicated test code in Go test files and manage testdata fixture exclusions to keep test suites maintainable and reliable.

Core Features & Use Cases

  • Pattern: Package-level shared vectors for test data to avoid replication across tests.
  • Pattern: Parameterized run loops to unify test execution.
  • Pattern: Fixture builders and testdata optimizations to reduce boilerplate.
  • Pattern: Cross-file helpers to centralize common test utilities.
  • Pattern: Golden-file / render assertion style tests to validate output deterministically.
  • Pattern: testdata exclusions in sonar-project.properties to ensure duplication analysis remains meaningful.

Quick Start

Identify duplicated test blocks in your Go test suite and apply the recommended refactors to reduce boilerplate and simplify maintenance.

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: no-duplication
Download link: https://github.com/Disble/dlexa/archive/main.zip#no-duplication

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.