← スキル一覧に戻る

integration-tests
by vibelang-org
⭐ 0🍴 0📅 2026年1月25日
SKILL.md
name: integration-tests description: Use this skill when writing or running integration tests. Provides approved model names and integration test guidelines.
Integration Test Guidelines
Guidelines for writing and running integration tests that make real API calls.
Approved Models
Use these models for integration tests:
| Provider | Model Name | API Key Env Var |
|---|---|---|
| Anthropic | claude-haiku-4-5-20251001 | ANTHROPIC_API_KEY |
| OpenAI | gpt-5-mini | OPENAI_API_KEY |
gemini-3-flash | GOOGLE_API_KEY |
Why These Models?
- Fast: Optimized for low latency
- Cost-effective: Cheapest tier for each provider
- Capable: Still highly capable for test scenarios
Writing Integration Tests
Example Vibe Code
// Anthropic
model anthropic = { name: "claude-haiku-4-5-20251001", apiKey: env("ANTHROPIC_API_KEY") }
// OpenAI
model openai = { name: "gpt-5-mini", apiKey: env("OPENAI_API_KEY") }
// Google
model google = { name: "gemini-3-flash", apiKey: env("GOOGLE_API_KEY") }
Test File Location
Integration tests live in: tests/integration/
Running Integration Tests
# Run all integration tests (costs money, ~40s)
bun run test:integration
# Run a single integration test
bun test tests/integration/specific-test.test.ts
Important Notes
- Do NOT run full integration suite routinely - it costs money
- Use unit tests first -
bun run testis fast and free - Run targeted integration tests when verifying specific provider behavior
- Update model names when providers release new versions
スコア
総合スコア
60/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です