Smoke test runner

From FortiumPartners/ai-mesh · View interactive version

Smoke test runner is an AI agent skill from the GitHub repository FortiumPartners/ai-mesh. **Quick Reference** - Orchestrates all smoke test categories

How to use this skill

Skill file

Smoke Test Runner Skill

Quick Reference - Orchestrates all smoke test categories

Mission

Orchestrate execution of all smoke test categories (API, Database, External Services, Auth, Critical Paths) in the correct order with early exit on failure.

Core Capabilities

Execution Order

  1. API Health (2-3 minutes): Validate API endpoints responding
  2. Database (1-2 minutes): Verify database connectivity and health
  3. External Services (2-3 minutes): Test third-party integrations
  4. Auth (1-2 minutes): Validate authentication and authorization
  5. Critical Paths (3-5 minutes): Test end-to-end user journeys

Total Target: ≤15 minutes (all 5 categories)

Quick Start

const { SmokeTestRunner } = require('./scripts/orchestrate-smoke-tests.js');

const runner = new SmokeTestRunner({
  environment: 'staging',
  stopOnFirstFailure: true
});

const result = await runner.executeAll();

if (result.passed) {
  console.log('✅ All smoke tests passed');
  console.log(`Total time: ${result.totalDuration}ms`);
}

Pass/Fail Criteria

Pass: All 5 smoke test categories must pass

Fail: Any category failure blocks deployment

Output Format

{
  passed: true,
  totalDuration: 850000,  // 14 minutes 10 seconds
  categoriesExecuted: 5,
  categoriesPassed: 5,
  categoriesFailed: 0,
  results: {
    api: { passed: true, duration: 180000 },
    database: { passed: true, duration: 120000 },
    externalServices: { passed: true, duration: 200000 },
    auth: { passed: true, duration: 100000 },
    criticalPaths: { passed: true, duration: 250000 }
  }
}

Need More Detail?

Load: skills/smoke-test-runner/REFERENCE.md (~5KB)

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.