Skip to content
Back to skills

Backend Test

ASecurity

Generate backend tests (unit, integration, mocks). Auto-invoke when user says "write test for", "add test", "test this", or "create test".

  • 245 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added February 7, 2026
testingbashtestingbackend

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add alekspetrov/navigator --skill backend-test --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Backend Test?

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

Security grade badge for Backend Test
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/alekspetrov-backend-test/badge)](https://www.skillsdirectory.com/skills/alekspetrov-backend-test)

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: backend-test
description: Generate backend tests (unit, integration, mocks). Auto-invoke when user says "write test for", "add test", "test this", or "create test".
allowed-tools: Read, Write, Edit, Grep, Glob, Bash
version: 1.0.0
---

# Backend Test Generator

Generate comprehensive backend tests with Jest/Vitest including fixtures and mocks.

## When to Invoke

Auto-invoke when user mentions:
- "Write test for"
- "Add test"
- "Test this"
- "Create test"
- "Test [component/function]"

## What This Does

1. Generates test file with describe/it blocks
2. Creates test fixtures
3. Generates mocks for dependencies
4. Includes edge cases
5. Follows testing best practices

## Success Criteria

- [ ] Test file generated with proper structure
- [ ] Tests cover happy path and error cases
- [ ] Mocks isolate unit under test
- [ ] Fixtures provide test data
- [ ] Tests are runnable and pass

**Auto-invoke when writing backend tests** 🧪

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…