Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

Integration Tester

БесплатноБез исполняемых скриптовНе проверен

Design integration test plans with mock, contract, and end-to-end testing specifications to validate API integrations before go-live and after changes.

TheLobbiот TheLobbi★ 22 звезды на GitHub

Об этом скилле

Integration Tester

Produce a complete integration test plan for a system integration. This covers sandbox environment setup, contract testing, functional test cases, end-to-end scenarios, and the regression suite. The test plan must be specific enough that a QA engineer can execute it without clarification.

Test Scope and Strategy

Define what is being tested and what is out of scope:

In scope:

  • API connector: authentication, endpoint calls, request formation, response parsing
  • Data mapping: field transformations, lookup table translations, null handling
  • Error handling: retry behavior, DLQ routing, alert triggering
  • End-to-end flow: source record change → integration processing → destination record created/updated

Out of scope:

  • Source system business logic (tested by source system owner)
  • Destination system business logic (tested by destination system owner)
  • Network infrastructure performance
  • Load/performance testing (separate engagement if required)

Test environments:

Environment Source System Destination System Integration Purpose
Development Mock server Mock server Local Developer unit testing
Integration Test Sandbox Sandbox Deployed Full integration testing
UAT Sandbox UAT Deployed Business acceptance testing
Production Production Production Deployed Smoke test post-deployment only

Mock Server Design

For source or destination systems without a sandbox, build a mock server.

Mock server tool selection: WireMock (Java), Nock (Node.js), or MockServer (Docker). Choose based on the team's language stack.

Mock endpoint definitions:

For each API endpoint, define a mock that returns realistic test data:

GET /policies?status=active&limit=100
Response 200:
{
  "data": [
    {
      "policy_id": "test-policy-001",
      "policy_number": "TEST-POL-2026-001",
      "client_id": "client-001",
      "effective_date": "2026-01-15",
      "premium_amount": 1250.00,
      "status_code": "A",
      "lob_code": "AU",
      "producer_npi": "1234567890",
      "notes": "Test policy for integration testing",
      "created_at": "2026-01-15T09:00:00-05:00",
      "modified_at": "2026-01-15T09:00:00-05:00"
    }
  ],
  "next_page_token": null,
  "has_more": false
}

Error scenario mocks:

Scenario Mock Configuration
Rate limit Return 429 with Retry-After: 5 on every 5th request
Service unavailable Return 503 for 3 consecutive requests, then 200
Auth failure Return 401 when using any token other than the test token
Not found Return 404 when record ID starts with "notfound-"
Validation failure Return 400 with field error when premium_amount is negative
Duplicate Return 409 when policy_number is "DUPLICATE-001"

Contract Tests

Contract tests verify the integration assumes the correct API shape. Run against both the mock and the real sandbox.

Contract test suite:

describe('Source API Contract', () => {
  describe('GET /policies', () => {
    it('returns array in data field', async () => {
      const response = await apiClient.getPolicies();
      expect(Array.isArray(response.data)).toBe(true);
    });
    
    it('policy has required fields', async () => {
      const response = await apiClient.getPolicies({ limit: 1 });
      const policy = response.data[0];
      expect(policy).toHaveProperty('policy_id');
      expect(policy).toHaveProperty('policy_number');
      expect(policy).toHaveProperty('client_id');
      expect(policy).toHaveProperty('effective_date');
      expect(policy).toHaveProperty('premium_amount');
      expect(policy).toHaveProperty('status_code');
      expect(policy).toHaveProperty('lob_code');
    });
    
    it('effective_date is ISO 8601 date format', async () => {
      const response = await apiClient.getPolicies({ limit: 1 });
      const date = response.data[0].effective_date;
      expect(date).toMatch(/^\d{4}-\d{2}-\d{2}$/);
    });
    
    it('premium_amount is a number', async () => {
      const response = await apiClient.getPolicies({ limit: 1 });
      expect(typeof response.data[0].premium_amount).toBe('number');
    });
    
    it('pagination: next_page_token present when has_more is true', async () => {
      // Only meaningful if source has > limit records
      const response = await apiClient.getPolicies({ limit: 1 });
      if (response.has_more) {
        expect(response.next_page_token).toBeTruthy();
      }
    });
  });
  
  describe('Authentication', () => {
    it('returns 401 with invalid credentials', async () => {
      const badClient = createApiClient({ apiKey: 'invalid-key' });
      await expect(badClient.getPolicies()).rejects.toThrow(/401/);
    });
    
    it('token is refreshed before expiry', async () => {
      // Set token to expire in 30 seconds, wait 25 seconds,
Полный SKILL.md на GitHub

Установить Integration Tester в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Grep
Bash
Write

FAQ

Что делает скилл Integration Tester?

Design integration test plans with mock, contract, and end-to-end testing specifications to validate API integrations before go-live and after changes.

Как установить скилл Integration Tester?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл Integration Tester запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить Integration Tester с