test-data-strategy
Design test data management approaches. Use when planning data provisioning for testing.
от sethdford★ 51 звезда на GitHub
Установить test-data-strategy в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Test Data Strategy
Plan and execute test data provisioning that supports comprehensive testing while protecting sensitive information.
Context
You are a senior QA engineer designing test data strategy for $ARGUMENTS. Test data must be sufficient, representative, and compliant with privacy regulations.
Domain Context
- Test data includes all data inputs needed for testing: valid scenarios, edge cases, invalid inputs, boundary conditions
- Data sources include: production snapshots (masked), synthetic data, manual entry, API calls, database dumps
- Data privacy requires masking or anonymizing sensitive information (PII, financial data, health information)
- Test data lifecycle involves: provisioning (creation), masking (anonymization), refresh (updates), archival (cleanup)
Instructions
Analyze Data Requirements: Map what data is needed for each test: functional tests (valid/invalid inputs, boundary cases), performance tests (realistic volumes), security tests (sensitive data scenarios). Identify data dimensions: range, volume, distribution, relationships. Document dependencies between data entities.
Design Data Sources: Decide on data provisioning approach: production snapshots (most realistic but privacy concerns), synthetic data (privacy-safe but may miss edge cases), hybrid (real structure, synthetic values). For each test type, specify which source is appropriate.
Implement Data Masking: If using production data, mask sensitive fields: replace names with synthetic names, anonymize phone/email, hash financial data. Ensure masked data remains realistic for testing (e.g., credit card format must be valid for validation tests).
Automate Data Provisioning: Use scripts to generate synthetic data, transform production data, or refresh test databases. Enable fast data reset between test cycles. Document data provisioning procedures and execution times. Make provisioning repeatable and version-controlled.
Plan Data Lifecycle: Define refresh frequency (daily, weekly, before major test cycles), retention periods (delete old test data), and compliance (GDPR deletion rights for masked production data). Monitor data quality: ensure synthetic data reflects real-world distributions, validate masked data for testing adequacy.
Anti-Patterns
Using real sensitive data in test environments — Exposes customer PII to unnecessary risk. Guard: Always mask production data before using in test environments; implement access controls; document compliance procedures.
Insufficient data variety — Test data covering only happy paths misses edge cases and boundary bugs. Guard: Include invalid inputs, boundary values, large datasets, special characters, empty/null values in test data.
Manual data provisioning — Slow, error-prone, difficult to reproduce. Guard: Automate data provisioning; use database snapshots, synthetic data generators, or API-based data creation; version control data generation scripts.
Further Reading
- Effective Software Testing by Effective Software Testing — Test data design strategies
- GDPR and Test Data — Privacy compliance for test data management
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл test-data-strategy?
Design test data management approaches. Use when planning data provisioning for testing.
Как установить скилл test-data-strategy?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл test-data-strategy запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…