Logo di Test Automation Architecture

Test Automation Architecture

Community
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.

Panoramica

Pubblicato daOmar-Obando
Repositoryqwen-orchestrator
Nome della skilltest-automation-architecture
Stelle
53
Fork
13
File inclusi
Solo istruzioni
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da Omar-Obando su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Test Automation Architecture in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/Omar-Obando/qwen-orchestrator/tree/main/skills/test-automation-architecture
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Test Automation Architecture in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Test Automation Architecture non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Test Automation Architecture non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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

Domande frequenti

Cosa fa la skill IA 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.

Perché usare Test Automation Architecture su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Test Automation Architecture è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Test Automation Architecture in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/Omar-Obando/qwen-orchestrator/tree/main/skills/test-automation-architecture. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Test Automation Architecture?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Test Automation Architecture?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Test Automation Architecture: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Test Automation Architecture è gratuita?

Sì. È pubblicata su GitHub da Omar-Obando con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇