backend-testing

Installation
Summary

Comprehensive backend testing for REST APIs, databases, authentication, and business logic across Jest, Pytest, and Mocha.

  • Covers unit tests for isolated functions, integration tests for API endpoints, and authentication/authorization flows with detailed examples for Express.js, FastAPI, and other frameworks
  • Includes test environment setup, mocking strategies for external dependencies, and database isolation patterns using in-memory or separate test databases
  • Provides step-by-step guidance on AAA pattern (Arrange-Act-Assert), test fixtures, and role-based access control testing with JWT tokens
  • Enforces test isolation, clear naming conventions, and coverage thresholds (default 80%) to prevent shared state issues and ensure reliable test execution
SKILL.md

Backend Testing

When to use this skill

Specific situations that should trigger this skill:

  • New feature development: Write tests first using TDD (Test-Driven Development)
  • Adding API endpoints: Test success and failure cases for REST APIs
  • Bug fixes: Add tests to prevent regressions
  • Before refactoring: Write tests that guarantee existing behavior
  • CI/CD setup: Build automated test pipelines

Input Format

Format and required/optional information to collect from the user:

Required information

Related skills

More from supercent-io/skills-template

Installs
11.8K
GitHub Stars
88
First Seen
Jan 24, 2026