用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/aiskillstore/marketplace --skill testing命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | testing |
| description | Automated test generation, review, and execution for pytest-based projects. |
Automated test generation, review, and execution for pytest-based projects.
Auto-activates on keywords: test, coverage, pytest, unittest, integration test, e2e, performance, benchmark, security testing
# Run all tests
uv run pytest
# Run with coverage
uv run pytest --cov=src/fragrance_rater --cov-report=html --cov-report=term-missing
# Run specific test categories
uv run pytest -m "not slow"
uv run pytest -m "integration"
uv run pytest -m "unit"
# Run with verbose output
uv run pytest -v --tb=short
# Run mutation testing
uv run mutmut run --paths-to-mutate=src/
# Run property-based tests
uv run pytest --hypothesis-show-statistics
tests/
├── unit/ # Unit tests (fast, isolated)
├── integration/ # Integration tests (may use external services)
├── e2e/ # End-to-end tests (full system)
├── security/ # Security-focused tests
├── performance/ # Performance and load tests
└── conftest.py # Shared fixtures
def test_example():
# Arrange
input_data = create_test_data()
# Act
result = function_under_test(input_data)
# Assert
assert result == expected_output
@pytest.fixture
def sample_data():
return {"key": "value"}
def test_with_fixture(sample_data):
assert sample_data["key"] == "value"