mcpField
C
continuous-testing

continuous-testing

github.com/aj-geddesTesting & quality373438 installsUpdated 34w ago
Repository

About continuous-testing

A skill for teams integrating automated tests throughout software development. It offers guidance for CI/CD pipelines, rapid feedback, test quality gates, and execution efficiency.

Key features

  1. 01CI/CD test pipeline setup
  2. 02Automated tests on code changes
  3. 03Parallel test execution
  4. 04Deployment quality gates
  5. 05Flaky-test monitoring and selection

Use cases

  1. 01Running tests on commits and pull requests
  2. 02Establishing deployment test gates
  3. 03Reducing test execution time
  4. 04Monitoring test health and flakiness

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill continuous-testing

After installing, type/continuous-testingin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

references/
flaky-test-detection.md
github-actions-ci-pipeline.md
gitlab-ci-pipeline.md
jenkins-pipeline.md
test-metrics-dashboard.md
test-selection-strategy.md
scripts/
validate-pipeline.sh
templates/
pipeline.yaml

Details

From the project README

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

  • Setting up CI/CD pipelines
  • Automating test execution on commits
  • Implementing shift-left testing
  • Running tests in parallel
  • Creating test gates for deployments
  • Monitoring test health
  • Optimizing test execution time
  • Establishing quality gates

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:

GuideContents
GitHub Actions CI PipelineGitHub Actions CI Pipeline
GitLab CI PipelineGitLab CI Pipeline
Jenkins PipelineJenkins Pipeline
Test Selection StrategyTest Selection Strategy
Flaky Test DetectionFlaky Test Detection
Test Metrics DashboardTest Metrics Dashboard

Best Practices

✅ DO
  • Run fast tests first (unit → integration → E2E)
  • Parallelize test execution
  • Cache dependencies
  • Set appropriate timeouts
  • Monitor test health and flakiness
  • Implement quality gates
  • Use test selection strategies
  • Generate comprehensive reports
❌ DON'T
  • Run all tests sequentially
  • Ignore flaky tests
  • Skip test maintenance
  • Allow tests to depend on each other
  • Run slow tests on every commit
  • Deploy with failing tests
  • Ignore test execution time
  • Skip security scanning

Comments

Markdown supported