Skip to main content

testing-strategy

Comprehensive testing strategy covering unit, integration, E2E, security, accessibility, and performance testing

소스 정보

저장소
Hack23/riksdagsmonitor
최근 소스 활동
2026년 4월 16일 09:31
감지된 SKILL.md 언어
영어
스타
13
포크
3

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
testing-strategy
description
Comprehensive testing strategy covering unit, integration, E2E, security, accessibility, and performance testing
license
Apache-2.0
# Testing Strategy Skill ## 🔴 AI FIRST Quality Principle > **Apply the AI FIRST principle: never accept first-pass quality. Minimum 2 iterations. Read all output, improve every section. No shortcuts.** ## Purpose Defines comprehensive testing approaches ensuring code quality, security, accessibility, and performance through automated and manual testing. ## Testing Pyramid - 70% Unit Tests (fast, isolated, many) - 20% Integration Tests (moderate speed, component interaction) - 10% E2E Tests (slow, full user journeys) ## Unit Testing Standards - Minimum 80% code coverage - 100% coverage for critical paths - Test all public APIs and error handling - Use AAA pattern (Arrange, Act, Assert) ## Integration Testing - Database queries and transactions - API endpoint functionality - External service integration - Cache behavior ## E2E Testing (Playwright/Cypress) - Critical user journeys - Form submissions - Cross-browser compatibility - Responsive design verification ## Security Testing 1. SAST — CodeQL, ESLint security plugins 2. Dependency Scanning — npm audit, Dependabot 3. DAST — OWASP ZAP scans 4. Common vulnerability tests (SQLi, XSS, CSRF) ## Accessibility Testing (WCAG 2.1 AA) - Keyboard navigation - Screen reader compatibility - Color contrast (4.5:1 normal, 3:1 large) - axe-core automated checks ## Performance Testing - LCP < 2.5s, FID < 100ms, CLS < 0.1 - Lighthouse performance audits - Load testing under peak conditions ## CI Pipeline Integration ```yaml steps: - Run linter - Run unit tests with coverage - Run integration tests - Run E2E tests - Security scan - Lighthouse CI ``` ## Related Policies - [Secure Development Policy](https://github.com/Hack23/ISMS-PUBLIC/blob/main/Secure_Development_Policy.md)
GitHub에서 보기