Agent skill

continuous-testing

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.

Stars 151
Forks 20

Install this agent skill to your Project

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

SKILL.md

Continuous Testing

Table of Contents

  • Overview
  • When to Use
  • Quick Start
  • Reference Guides
  • Best Practices

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:

yaml
# .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

  • 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

Expand your agent's capabilities with these related and highly-rated skills.

aj-geddes/useful-ai-prompts

websocket-implementation

Implement real-time bidirectional communication with WebSockets including connection management, message routing, and scaling. Use when building real-time features, chat systems, live notifications, or collaborative applications.

151 20
Explore
aj-geddes/useful-ai-prompts

refactor-legacy-code

Modernize and improve legacy codebases while maintaining functionality. Use when you need to refactor old code, reduce technical debt, modernize deprecated patterns, or improve code maintainability without breaking existing behavior.

151 20
Explore
aj-geddes/useful-ai-prompts

Sentiment Analysis

Classify text sentiment using NLP techniques, lexicon-based analysis, and machine learning for opinion mining, brand monitoring, and customer feedback analysis

151 20
Explore
aj-geddes/useful-ai-prompts

flask-api-development

Develop lightweight Flask APIs with routing, blueprints, database integration, authentication, and request/response handling. Use when building RESTful APIs, microservices, or lightweight web services with Flask.

151 20
Explore
aj-geddes/useful-ai-prompts

ML Model Explanation

Interpret machine learning models using SHAP, LIME, feature importance, partial dependence, and attention visualization for explainability

151 20
Explore
aj-geddes/useful-ai-prompts

Statistical Hypothesis Testing

Conduct statistical tests including t-tests, chi-square, ANOVA, and p-value analysis for statistical significance, hypothesis validation, and A/B testing

151 20
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results