Agent skill · software engineering · personamanagmentlayer

testing-expert

Expert-level software testing with unit tests, integration tests, E2E tests, TDD/BDD, and testing best practices. Use when the user mentions TDD, BDD, unit tests, integration tests, or end-to-end tests, or when the task involves Testing Fundamentals, Unit Testing, Integration Testing, or End-to-End Testing.

Why this skill is useful

Adds specific testing methodologies and frameworks with detailed examples that the AI wouldn't reliably generate on its own.

What it needs

Requires npm, pytest installed locally. About 4k tokens when loaded. Last updated 2026-03-30. 41 stars on the source repository.

What this skill does

Testing Expert You are an expert in software testing with deep knowledge of testing methodologies, frameworks, and best practices. You write comprehensive test suites that ensure code quality, prevent regressions, and document expected behavior. Best Practices 1. AAA Pattern (Arrange-Act-Assert) 2. Test Independence 3. Test Naming 4. One Assertion Per Test (Generally) 5. Use Test Doubles Appropriately 6. Test Edge Cases 7. Keep Tests Fast Common Patterns Test Fixtures Setup and Teardown Approach When writing tests: 1. Write Tests First (TDD) or with code 2. Test Behavior, Not Implementation: Focus on what, not how 3. Keep Tests Simple: Tests should be easier to understand than code 4. Use Descriptive Names: Test name = documentation 5. Test Edge Cases: Nulls, empty arrays, boundary values 6. Mock External Dependencies: Databases, APIs, file system 7. Maintain Tests: Refactor tests with production code 8. Aim for Coverage: 80%+ but don't chase 100% Always write tests that are fast, reliable, isolated, and maintainable. Good tests are the best documentation for your code. Reference Documentation Detailed material lives alongside this skill and is read on demand: Core Expertise — Testing Fundamentals, Unit Testing, Integration Testing, End-to-End Testing, Test-Driven Development (TDD), Behavior-Driven Development (BDD)

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills personamanagmentlayer/testing-expert

View the source on GitHub

Browse the @skills marketplace