Continuous testing

From aj-geddes/useful-ai-prompts · View interactive version

Continuous testing is an AI agent skill from the GitHub repository aj-geddes/useful-ai-prompts. Integrate automated testing into CI/CD pipelines for continuous quality feedback. Use for continuous testing, CI testing, automated testing pipelines, test orchestration, and DevOps quality practices.

How to use this skill

Skill file

Continuous Testing

Table of Contents

Overview

Continuous testing integrates automated testing throughout the software development lifecycle, providing rapid feedback on quality at every stage. It shifts testing left in the development process and ensures that code changes are validated automatically before reaching production.

When to Use

Quick Start

Minimal working example:

# .github/workflows/ci.yml
name: Continuous Testing

on:
  push:
    branches: [main, develop]
  pull_request:
    branches: [main, develop]

env:
  NODE_VERSION: "18"

jobs:
  # Unit tests - Fast feedback
  unit-tests:
    runs-on: ubuntu-latest
    timeout-minutes: 10

    steps:
      - uses: actions/checkout@v3

      - name: Setup Node.js
        uses: actions/setup-node@v3
        with:
          node-version: ${{ env.NODE_VERSION }}
// ... (see reference guides for full implementation)

Reference Guides

Detailed implementations in the references/ directory:

| Guide | Contents |

|---|---|

| GitHub Actions CI Pipeline | GitHub Actions CI Pipeline |

| GitLab CI Pipeline | GitLab CI Pipeline |

| Jenkins Pipeline | Jenkins Pipeline |

| Test Selection Strategy | Test Selection Strategy |

| Flaky Test Detection | Flaky Test Detection |

| Test Metrics Dashboard | Test Metrics Dashboard |

Best Practices

✅ DO

❌ DON'T

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.