用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/vuralserhat86/antigravity-agentic-skills --skill testing命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Guide for conducting comprehensive accessibility audits of code to identify WCAG compliance issues and barriers to inclusive design. This skill should be used when reviewing accessibility, ARIA implementation, keyboard navigation, or screen reader compatibility.
Transform clarified user requests into structured delegation prompts optimized for specialist agents (cto-architect, strategic-cto-mentor, cv-ml-architect). Use after clarification is complete, before routing to specialist agents. Ensures agents receive complete context for effective work.
AGENTS.md dosyaları oluşturma, monorepo yapılandırma ve agent instruction yönetimi rehberi.
基于 SOC 职业分类
正在显示 SKILL.md
| name | testing |
| description | Kapsamlı test stratejileri ve 2025 test araçları. Unit, integration, e2e ve visual testing. |
Yazılım kalitesini sağlamak için sistematik test yaklaşımları. 2025 modern test araçları ve piramit test stratejisi.
/ \
/E2E\ ← En az (Yavaş, Pahalı, Kırılgan)
/-----\
/ INTEGR\ ← Orta (Hız ve Güven dengesi)
/---------\
/ UNIT \ ← En çok (Hızlı, Ucuz, İzole)
/-------------\
| Tip | Kapsam | Hız | Maliyet |
|---|---|---|---|
| Unit | Fonksiyon/Component | ⚡⚡⚡ | 💸 |
| Integration | DB/API/Module arası | ⚡⚡ | 💸💸 |
| E2E | Tam kullanıcı akışı | ⚡ | 💸💸💸 |
import { sum } from './math';
describe('sum function', () => {
test('adds 1 + 2 to equal 3', () => {
expect(sum(1, 2)).toBe(3);
});
test('handles zero correctly', () => {
expect(sum(0, 0)).toBe(0);
});
});
// Service mock'lama
jest.mock('./apiService');
import { fetchData } from './apiService';
test('should use mocked data', async () => {
(fetchData as jest.Mock).mockResolvedValue({ id: 1, name: 'Test' });
const data = await getServiceData();
expect(data.name).toBe('Test');
});
import request from 'supertest';
import app from './app';
describe('POST /api/users', () => {
test('should create a new user and return it', async () => {
const response = await request(app)
.post('/api/users')
.send({ email: 'test@example.com', name: 'Test' });
expect(response.status).toBe(201);
expect(response.body.email).toBe('test@example.com');
});
});
import { test, expect } from '@playwright/test';
test('user can login successfully', async ({ page }) => {
await page.goto('/login');
await page.fill('input[name="email"]', 'user@example.com');
await page.fill('input[name="password"]', 'password123');
await page.click('button[type="submit"]');
await expect(page).toHaveURL('/dashboard');
await expect(page.locator('h1')).toContainText('Hoş Geldiniz');
});
// Playwright visual test
test('dashboard visual comparison', async ({ page }) => {
await page.goto('/dashboard');
await expect(page).toHaveScreenshot('dashboard.png');
});
Kaynak: Spotify's Testing Pyramid & Playwright Best Practices
| Aşama | Doğrulama |
|---|---|
| 1 | Testler "Flaky" (bazen geçen bazen kalan) özellikten arındırıldı mı? |
| 2 | Mock veriler gerçek dünya senaryolarını (Edge cases) yansıtıyor mu? |
| 3 | E2E testleri production ortamını birebir simüle ediyor mu? |
Testing v2.5 - With Workflow