testing-patterns | Skill Performance & Reviews | TopRankSkills

TopRank Skills

Home / Skills / tools / testing-patterns

testing-patterns

maintained by Dicklesworthstone

star 100 account_tree 22 verified_user MIT License
bolt View GitHub

id: testing-patterns name: Testing Patterns description: >- Common testing patterns and practices. This skill is designed to be included in composite skills via the 'includes' feature. tags: [testing, example]

Testing Patterns

Foundational testing practices applicable across languages and frameworks.

Rules

  • Write tests for happy paths and error cases
  • Test edge cases and boundary conditions
  • Each test should test one thing
  • Tests should be deterministic and repeatable
  • Use descriptive test names that explain the scenario

Checklist

  • Happy path is covered
  • Error cases are tested
  • Edge cases are identified and tested
  • Tests are independent and can run in any order
  • Test data is isolated per test
  • No flaky tests in the suite

Pitfalls

  • Testing implementation details instead of behavior
  • Not testing error paths
  • Shared mutable state between tests
  • Tests that depend on execution order

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!

Skill Details

GitHub Stars 100
GitHub Forks 22
Created Jan 2026
Last Updated 8个月前
tools tools architecture patterns

Related Skills

dagger-design-proposals
chevron_right
nestjs-expert
chevron_right
docker-expert
chevron_right
kafka-architecture
chevron_right
kafka-streams-topology
chevron_right

Build your own?

Join 12,000+ developers contributing to the Claude ecosystem.