testing-strategies

Testing strategies including contract testing, snapshot testing, mutation testing, property-based testing, and test organization

Content Preview
---
name: testing-strategies
description: Testing strategies including contract testing, snapshot testing, mutation testing, property-based testing, and test organization
---

# Testing Strategies

## Test Structure (Arrange-Act-Assert)

```typescript
describe("OrderService", () => {
  describe("createOrder", () => {
    it("creates an order with valid items and returns order ID", async () => {
      const repo = new InMemoryOrderRepository();
      const service = new OrderService(repo);
      
How to Use

Recommended: Install to project (local)

mkdir -p .claude/skills
curl -o .claude/skills/testing-strategies.md \
  https://raw.githubusercontent.com/rohitg00/awesome-claude-code-toolkit/main/skills/testing-strategies/SKILL.md

Skill is scoped to this project only. Add .claude/skills/ to your .gitignoreif you don't want to commit it.

Alternative: Clone full repo

git clone https://github.com/rohitg00/awesome-claude-code-toolkit

Then reference at skills/testing-strategies/SKILL.md

Related Skills