Test
Generate unit tests, integration tests, and test data. Use when writing tests, improving test coverage, or creating test scenarios.
Install
npx skills add thechandanbhagat/claude-skills --skill testgit clone --depth 1 https://github.com/thechandanbhagat/claude-skills.git /tmp/claude-skills
mkdir -p ~/.claude/skills
cp -r /tmp/claude-skills/skills/test ~/.claude/skills/testPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Test Generation Skill
Generate comprehensive tests for your code.
## 1. Unit Test Generation
**Python (pytest):**
```python
import pytest
from mymodule import function_to_test
class TestFunctionName:
def test_normal_case(self):
result = function_to_test("input")
assert result == "expected"
def test_edge_case_empty(self):
result = function_to_test("")
assert result == ""
def test_edge_case_none(self):
with pytest.raises(TypeError):
function_to_test(None)
def test_large_input(self):
large_input = "x" * 10000
result = function_to_test(large_input)
assert len(result) > 0
@pytest.mark.parametrize("input,expected", [
("test", "TEST"),
("hello", "HELLO"),
("123", "123"),
])
def test_multiple_cases(self, input, expected):
assert function_to_test(input) == expected
```
**JavaScript (Jest):**Details
- Skill name
test- Repository
- thechandanbhagat/claude-skills
- Path
skills/test/SKILL.md- Repo updated
- 22 January 2026
FAQ
What does the Test skill do?
Generate unit tests, integration tests, and test data. Use when writing tests, improving test coverage, or creating test scenarios.
How do I install the Test skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add thechandanbhagat/claude-skills --skill test. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Test popular?
It lives in thechandanbhagat/claude-skills, which has 9 GitHub stars and 0 forks.
Related skills
Code Review
9thechandanbhagat/claude-skills
Perform automated code reviews with best practices, security checks, and refactoring suggestions. Use when reviewing code, checking for vulnerabilities, or analyzing code quality.
CSV
9thechandanbhagat/claude-skills
Parse, analyze, transform, and manipulate CSV files. Use for data processing, cleaning, and CSV operations.
Debug
9thechandanbhagat/claude-skills
Debug code, analyze errors, interpret stack traces, find root causes, and suggest fixes. Use when troubleshooting bugs, analyzing crashes, or investigating unexpected behavior.
Screenshot
5sawallesalfo/claude-skills
Capture a full-page screenshot of any public URL using Playwright's headless Chromium browser. Use this skill whenever the user provides a URL and asks to take a screenshot, capture a page, grab a visual snapshot, or see what a website looks like. Also trigger when the user says things like "screenshot this", "capture this page", "show me what this site looks like", or "get a screenshot of [URL]". Works on GitHub, Docker Hub, dev.to, npm, PyPI, and any public website. No API key required — uses a local headless browser via Playwright.
Playwright CLI
4pytholic/claude-skills
Automate browser interactions, test web pages and work with Playwright tests.
Instagram Publish
10artguru-tech-team/claude-skills-public
Use when publishing Instagram carousels from HTML files — covers export to PNG at 1080x1350px via Playwright and upload via Upload-Post API. Includes contrast check checklist before export.
Browse the most popular Claude skills, all testing & qa skills, or write your own with the skills generator.