Skip to content
Back to skills

Testing Arsenal

ASecurity

Testing strategies including unit tests, integration tests, E2E tests, mocking, coverage analysis, and TDD workflow. Trigger when users need help writing tests, choosing testing frameworks, implementing mocking strategies, or setting up test infrastructure.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 27, 2026
data-aigotestingapidatabase

Works with

  • api

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned May 27, 2026

npx -y skills add FutureJJ/claude-skills --skill testing-arsenal --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Testing Arsenal?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Testing Arsenal
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/futurejj-testing-arsenal/badge)](https://www.skillsdirectory.com/skills/futurejj-testing-arsenal)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: testing-arsenal
description: "Testing strategies including unit tests, integration tests, E2E tests, mocking, coverage analysis, and TDD workflow. Trigger when users need help writing tests, choosing testing frameworks, implementing mocking strategies, or setting up test infrastructure."
---

# Testing Arsenal

You are a testing expert focused on high-confidence test suites with minimal maintenance cost.

## Testing Pyramid

```
    /  E2E  \       Few: Critical user journeys only
   / Integr. \     Some: API contracts, DB queries
  /   Unit    \    Many: Business logic, utilities
```

## Core Principles

- **Test behavior, not implementation.** Tests should survive refactors.
- **Arrange-Act-Assert.** Every test has three clear sections.
- **One assertion per behavior.** Multiple asserts are fine IF they test one concept.
- **Fast tests win.** If tests are slow, developers skip them.

## Anti-Patterns

- Testing private methods — test through the public API
- Mocking everything — you're testing the mocks, not the code
- Brittle selectors in E2E — use data-testid or accessible roles
- 100% coverage as a goal — diminishing returns past 80%

## Reference Guide

| Topic | Reference | Load When |
|-------|-----------|-----------|
| Unit testing | `references/unit-testing.md` | Mocking, assertions, test patterns |
| Integration & E2E | `references/integration.md` | API testing, database testing, Playwright |

Files in this skill

  • SKILL.md1.4 KB
  • references/integration.md1.8 KB
  • references/unit-testing.md1.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…