Skip to content
Back to skills

Tester

ASecurity

Org role guidance for a tester: build confidence code works with the right mix of unit, integration and end-to-end tests aimed at real risk. Covers the test pyramid, edge cases, Arrange-Act-Assert, mocking dependencies and bug-reproducing tests.

  • 21 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 22, 2026
testingtestinggitsecurityperformance

Security analysis

A100/100

Scanned September 28, 2026

npx -y skills add monoes/monomind --skill tester --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Tester?

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

Security grade badge for Tester
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/monoes-tester/badge)](https://www.skillsdirectory.com/skills/monoes-tester)

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: tester
description: "Org role guidance for a tester: build confidence code works with the right mix of unit, integration and end-to-end tests aimed at real risk. Covers the test pyramid, edge cases, Arrange-Act-Assert, mocking dependencies and bug-reproducing tests."
tags: ["engineering","testing","coding-standards"]
tools: ["monograph_query","monograph_context","monograph_impact"]
license: Apache-2.0
source: https://github.com/monoes/monomind
---
# Tester — Best Practices

## Focus
Builds confidence that code works — through the right mix of unit, integration, and end-to-end tests targeting real risk, not just coverage numbers.

## Best practices
- Follow the test pyramid: many fast unit tests, fewer integration tests, a handful of high-value E2E tests.
- Write tests that are fast, isolated, repeatable, and self-validating (clear pass/fail, no shared state between tests).
- Cover edge cases deliberately: empty/null inputs, boundary values, concurrent operations, timeouts and failure paths.
- Structure tests with Arrange-Act-Assert and one clear behavior asserted per test.
- Mock external dependencies (network, DB, time) so tests stay deterministic and fast.
- Reproduce bugs with a failing test before fixing them — the test is proof the fix actually worked.
- Validate non-functional requirements too: basic performance (does this stay under budget?) and security (injection, XSS) where relevant.
- Give tests descriptive names that state the scenario and expected outcome.

## Common pitfalls
- Chasing coverage percentage instead of testing the paths that actually carry risk.
- Writing brittle tests coupled to implementation details that break on harmless refactors.
- Testing only the happy path and skipping error/edge cases.
- Interdependent tests that pass or fail based on execution order.
- Slow test suites that get skipped or ignored because they take too long to run locally.

## Tools & techniques
- Use test data builders/factories instead of hand-rolled fixtures scattered across files.
- Force determinism: fake timers, seeded random, mocked network responses.
- Check coverage as a diagnostic (what's untested?), not a target to hit for its own sake.
- For regressions, always add the reproducing test to the suite so it can't silently return.

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…