Логотип Test Automation Architecture

Test Automation Architecture

Спільнота
Omar-Obando
test-automation-architecture

Use when designing test automation frameworks, implementing page object patterns, creating test reporting systems, and managing parallel test execution. Includes test strategy, test data management, and test infrastructure setup. Based on CTFL-TA and ISTQB Advanced Level certifications.

Огляд

ВидавецьOmar-Obando
Репозиторійqwen-orchestrator
Назва навичкиtest-automation-architecture
Зірки
53
Форки
13
Файли в пакеті
Лише інструкції
ЛіцензіяMIT
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Усе необхідне — в інструкціях

    Усе потрібне моделі міститься в інструкціях — жодних додаткових файлів для синхронізації.

  • Відкритий вихідний код

    Видавець на GitHub: Omar-Obando. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Test Automation Architecture у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/Omar-Obando/qwen-orchestrator/tree/main/skills/test-automation-architecture
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Omar-Obando/qwen-orchestrator.git /tmp/qwen-orchestrator
mkdir -p .claude/skills
cp -r /tmp/qwen-orchestrator/skills/test-automation-architecture .claude/skills/test-automation-architecture
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Test Automation Architecture в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Test Automation Architecture, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Test Automation Architecture не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

Test Automation Architecture Skill — QA Engineer

Overview

This skill provides comprehensive guidance for designing and implementing test automation frameworks. It covers page object patterns, test reporting, parallel execution, test data management, and test infrastructure following CTFL-TA and ISTQB Advanced Level certifications.

When to Use

Use this skill when:

  • Designing test automation frameworks
  • Implementing page object patterns
  • Creating test reporting and dashboards
  • Managing parallel test execution
  • Setting up test data management
  • Designing test infrastructure
  • Implementing test framework best practices
  • Creating test libraries and utilities
  • Setting up CI/CD integration
  • Designing test environment management
  • Implementing test result analysis
  • Creating test metrics and KPIs
  • Designing test coverage reporting
  • Implementing test flakiness reduction
  • Setting up test monitoring
  • Designing test data privacy
  • Implementing test version control
  • Creating test documentation
  • Designing test failure analysis
  • Implementing test performance optimization
  • Setting up test orchestration
  • Designing test scalability
  • Creating test maintainability strategies
  • Implementing test quality gates

Do NOT use this skill when:

  • Writing application business logic (use domain-driven skill)
  • Designing database schemas (use database-design skill)
  • Writing API endpoint specifications (use api-design skill)
  • Performing security audits (use security-auditor skill)
  • Writing SQL queries (use sql-best-practices skill)
  • Designing multi-page website layouts (use design-system skill)
  • Analyzing deployment configurations (use deployment skill)
  • Writing documentation (use documentation-best-practices skill)

Test Framework Architecture

Layered Architecture

┌─────────────────────────────────────────────────────────────┐
│              Test Framework Architecture                    │
├─────────────────────────────────────────────────────────────┤
│  ┌──────────────────────────────────────────────────────┐   │
│  │              Test Layer (Tests)                      │   │
│  │  - Feature tests                                       │   │
│  │  - Integration tests                                   │   │
│  │  - Unit tests                                          │   │
│  └──────────────────────────────────────────────────────┘   │
│  ┌──────────────────────────────────────────────────────┐   │
│  │           Support Layer (Utilities)                  │   │
│  │  - Test data builders                                  │   │
│  │  - API clients                                         │   │
│  │  - Database helpers                                    │   │
│  └──────────────────────────────────────────────────────┘   │
│  ┌──────────────────────────────────────────────────────┐   │
│  │           Framework Layer (Base Classes)             │   │
│  │  - Page objects                                        │   │
│  │  - Test base classes                                   │   │
│  │  - Assertions                                          │   │
│  └──────────────────────────────────────────────────────┘   │
│  ┌──────────────────────────────────────────────────────┐   │
│  │           Tool Layer (Test Runner)                   │   │
│  │  - Test runner (Jest, Mocha, Pytest)                  │   │
│  │  - Reporting (Allure, HTML report)                    │   │
│  │  - CI/CD integration                                   │   │
│  └──────────────────────────────────────────────────────┘   │
└─────────────────────────────────────────────────────────────┘

Page Object Pattern

typescript
// ✅ Good: Page Object Pattern
class LoginPage {
  constructor(private page: Page) {}

  async navigate() {
    await this.page.goto('/login');
  }

  async fillEmail(email: string) {
    await this.page.fill('#email', email);
  }

  async fillPassword(password: string) {
    await this.page.fill('#password', password);
  }

  async submit() {
    await this.page.click('#login-btn');
  }

  async isLoggedIn(): Promise<boolean> {
    return await this.page.isVisible('#dashboard');
  }
}

// Test using Page Object
test('user can login', async () => {
  const loginPage = new LoginPage(page);
  await loginPage.navigate();
  await loginPage.fillEmail('user@example.com');
  await loginPage.fillPassword('password123');
  await loginPage.submit();
  expect(await loginPage.isLoggedIn()).toBe(true);
});

Test Data Management

Test Data Builder Pattern

typescript
// ✅ Good: Test Data Builder
class UserBuilder {
  private user: Partial<User> = {
    email: faker.internet.email(),
    name: faker.name.findName(),
    role: 'user',
  };

  withEmail(email: string) {
    this.user.email = email;
    return this;
  }

  withRole(role: UserRole) {
    this.user.role = role;
    return this;
  }

  build(): User {
    return this.user as User;
  }

  async create(): Promise<User> {
    const user = this.build();
    return await userRepository.create(user);
  }
}

// Usage
const user = await new UserBuilder().withRole('admin').create();

Test Data Isolation

typescript
// ✅ Good: Test data isolation
beforeEach(async () => {
  await database.truncate();
});

afterEach(async () => {
  await database.truncate();
});

// ❌ Bad: Shared test data
test('user creates order', async () => {
  // Uses same data as other tests
  const user = await User.find(1);
});

Parallel Test Execution

Parallelization Strategy

┌─────────────────────────────────────────────────────────────┐
│              Parallel Execution Strategy                    │
├─────────────────────────────────────────────────────────────┤
│  1. Test Suite Splitting                                    │
│     - Split by feature, module, or test type               │
│     - Balance execution time across workers                 │
│                                                              │
│  2. Resource Isolation                                      │
│     - Separate databases per worker                         │
│     - Isolated test data                                    │
│     - Unique test identifiers                               │
│                                                              │
│  3. Test Ordering                                           │
│     - Randomize test order                                  │
│     - Run slow tests first                                  │
│     - Group related tests                                   │
│                                                              │
│  4. Retry Logic                                             │
│     - Retry flaky tests                                     │
│     - Track flakiness metrics                               │
└─────────────────────────────────────────────────────────────┘

Parallel Configuration

yaml
# Example: Jest parallel configuration
testEnvironment: node
testRunner: jest-circus/runner
maxWorkers: 4
workerIdleMemoryLimit: 512MB
forceExit: false

Test Reporting

Reporting Dashboard

┌─────────────────────────────────────────────────────────────┐
│              Test Reporting Dashboard                       │
├─────────────────────────────────────────────────────────────┤
│  ┌─────────────┐  ┌─────────────┐  ┌─────────────┐         │
│  │  Total      │  │  Passed     │  │  Failed     │         │
│  │  Tests: 150 │  │  Tests: 145 │  │  Tests: 5   │         │
│  └─────────────┘  └─────────────┘  └─────────────┘         │
│  ┌─────────────┐  ┌─────────────┐  ┌─────────────┐         │
│  │  Duration   │  │  Pass Rate  │  │  Flaky      │         │
│  │  45s        │  │  96.7%      │  │  Tests: 2   │         │
│  └─────────────┘  └─────────────┘  └─────────────┘         │
│                                                              │
│  Test Results by Module:                                     │
│  ┌─────────────┬─────────┬─────────┬─────────┐              │
│  │ Module      │ Total   │ Passed  │ Failed  │              │
│  ├─────────────┼─────────┼─────────┼─────────┤              │
│  │ Auth        │ 25      │ 25      │ 0       │              │
│  │ Orders      │ 30      │ 28      │ 2       │              │
│  │ Products    │ 40      │ 40      │ 0       │              │
│  │ Users       │ 35      │ 32      │ 3       │              │
│  └─────────────┴─────────┴─────────┴─────────┘              │
└─────────────────────────────────────────────────────────────┘

Test Metrics

┌─────────────────────────────────────────────────────────────┐
│              Test Metrics                                   │
├─────────────────────────────────────────────────────────────┤
│  Coverage Metrics:                                          │
│  - Line coverage: 85%                                       │
│  - Branch coverage: 78%                                     │
│  - Function coverage: 90%                                   │
│  - Statement coverage: 82%                                  │
│                                                              │
│  Quality Metrics:                                           │
│  - Test pass rate: 96.7%                                    │
│  - Test flakiness: 1.3%                                     │
│  - Mean time to recovery: 5 minutes                         │
│  - Test execution time: 45 seconds                          │
│                                                              │
│  ROI Metrics:                                               │
│  - Bugs caught before prod: 45                              │
│  - Time saved: 20 hours/week                                │
│  - Release frequency: 3x faster                             │
└─────────────────────────────────────────────────────────────┘

Real-World Impact

Before this skill:

  • Ad-hoc test automation
  • Flaky tests
  • Poor test coverage
  • No reporting
  • Manual test execution

After this skill:

  • Well-designed test framework
  • Reliable, fast tests
  • Comprehensive coverage
  • Detailed reporting
  • Automated parallel execution

Cross-References

  • testing-strategy - For test strategy and planning
  • tdd-workflow - For test-driven development
  • devops-pipeline - For CI/CD integration

References

Поширені запитання

Що робить навичка ШІ Test Automation Architecture?

Use when designing test automation frameworks, implementing page object patterns, creating test reporting systems, and managing parallel test execution. Includes test strategy, test data management, and test infrastructure setup. Based on CTFL-TA and ISTQB Advanced Level certifications.

Навіщо використовувати Test Automation Architecture у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Test Automation Architecture — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Test Automation Architecture у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/Omar-Obando/qwen-orchestrator/tree/main/skills/test-automation-architecture. TypingMind прочитає файл SKILL.md і встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Test Automation Architecture?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Test Automation Architecture?

Зі скількома забажаєте. У TypingMind ви можете використовувати Test Automation Architecture із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Test Automation Architecture?

Так. На GitHub цю навичку публікує Omar-Obando за ліцензією MIT. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇