Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
athola avatar

Testing Quality Standards

  • 102 installs
  • 325 repo stars
  • Updated August 2, 2026
  • athola/claude-night-market

Steer agents away from common testing mistakes with concrete before-and-after examples when writing or reviewing tests.

About

testing-quality-standards (packaged here as anti-patterns content under claude-night-market) gives solo builders a compact guardrail set for test code agents generate. Instead of abstract advice, it shows bad pytest snippets beside fixes: stop asserting on private methods, do not mock arithmetic you can run for real, always assert outcomes, and isolate tests from shared mutable fixtures. The frontmatter ties it to a parent testing-quality-standards skill and notes reuse by test-review and python-testing workflows, so it fits a larger Leyline-style quality stack. Invoke it when an agent drafts tests that look verbose but prove nothing, or when you want review comments grounded in recognizable smells. It is strongest for Python pytest services but the principles transfer to other frameworks. Complexity is beginner-friendly because examples are short; confidence is slightly lower where the ingested readme truncated mid-example. Pair with a test generator or TDD skill for green-field suites, and with code review skills when auditing an existing module before ship.

  • Before/after pairs for testing private methods versus public behavior
  • Over-mocking callout with a simple calculate_total example
  • Missing-assertions anti-pattern with corrected explicit asserts
  • Shared mutable state warning between tests
  • Reusable by test-review and python-testing related skills per frontmatter

Testing Quality Standards by the numbers

  • 102 all-time installs (skills.sh)
  • Ranked #996 of 2,153 Testing & QA skills by installs in the Skillselion catalog
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/athola/claude-night-market --skill testing-quality-standards

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs102
repo stars325
Security audit3 / 3 scanners passed
Last updatedAugust 2, 2026
Repositoryathola/claude-night-market

What it does

Steer agents away from common testing mistakes with concrete before-and-after examples when writing or reviewing tests.

Files

SKILL.mdMarkdownGitHub ↗

Testing Quality Standards

Shared quality standards and metrics for testing across all plugins in the Claude Night Market ecosystem.

When To Use

  • Establishing test quality gates and coverage targets
  • Validating test suite against quality standards

When NOT To Use

  • Exploratory testing or spike work
  • Projects with established quality gates that meet requirements

Table of Contents

1. Coverage Thresholds 2. Quality Metrics 3. Detailed Topics

Coverage Thresholds

LevelCoverageUse Case
Minimum60%Legacy code
Standard80%Normal development
High90%Critical systems
detailed95%+Safety-critical

Quality Metrics

Structure

  • [ ] Clear test organization
  • [ ] Meaningful test names
  • [ ] Proper setup/teardown
  • [ ] Isolated test cases

Coverage

  • [ ] Critical paths covered
  • [ ] Edge cases tested
  • [ ] Error conditions handled
  • [ ] Integration points verified

Maintainability

  • [ ] DRY test code
  • [ ] Reusable fixtures
  • [ ] Clear assertions
  • [ ] Minimal mocking

Reliability

  • [ ] No flaky tests
  • [ ] Deterministic execution
  • [ ] No order dependencies
  • [ ] Fast feedback loop

Detailed Topics

For implementation patterns and examples:

  • [Anti-Patterns](modules/anti-patterns.md) - Common testing mistakes with before/after examples
  • [Best Practices](modules/best-practices.md) - Core testing principles and exit criteria
  • [Content Assertion Levels](modules/content-assertion-levels.md) - L1/L2/L3 taxonomy for testing LLM-interpreted markdown files

Integration with Plugin Testing

This skill provides foundational standards referenced by:

  • pensive:test-review - Uses coverage thresholds and quality metrics
  • parseltongue:python-testing - Uses anti-patterns and best practices
  • sanctum:test-* - Uses quality checklist and content assertion levels for test validation
  • imbue:proof-of-work - Uses content assertion levels to enforce Iron Law on execution markdown

Reference in your skill's frontmatter:

dependencies: [leyline:testing-quality-standards]

Verification: Run pytest -v to verify tests pass.

Troubleshooting

Common Issues

Tests not discovered Ensure test files match pattern test_*.py or *_test.py. Run pytest --collect-only to verify.

Import errors Check that the module being tested is in PYTHONPATH or install with pip install -e .

Async tests failing Install pytest-asyncio and decorate test functions with @pytest.mark.asyncio

Related skills

FAQ

Is Testing Quality Standards safe to install?

skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.