Logotipo de Test Automation Architecture

Test Automation Architecture

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

Descripción general

EditorOmar-Obando
Repositorioqwen-orchestrator
Nombre de la habilidadtest-automation-architecture
Estrellas
53
Forks
13
Archivos incluidos
Solo instrucciones
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Todo en las instrucciones

    Todo lo que necesita el modelo está en las instrucciones: no hay archivos adicionales que sincronizar.

  • Código abierto

    Publicada por Omar-Obando en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Test Automation Architecture en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/Omar-Obando/qwen-orchestrator/tree/main/skills/test-automation-architecture
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese 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
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Test Automation Architecture en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Test Automation Architecture automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Test Automation Architecture no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo 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

Preguntas frecuentes

¿Qué hace la habilidad de 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.

¿Por qué usar Test Automation Architecture en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Test Automation Architecture está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Test Automation Architecture en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/Omar-Obando/qwen-orchestrator/tree/main/skills/test-automation-architecture. TypingMind lee el archivo SKILL.md de esa carpeta e instala su contenido como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Test Automation Architecture?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Test Automation Architecture?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Test Automation Architecture con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Test Automation Architecture?

Sí. Omar-Obando la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇