← Back to list

run-full-test-suite
by Async-IO
MCP/A2A/Rest Fitness Intelligence platform.
⭐ 16🍴 2📅 Jan 24, 2026
SKILL.md
name: run-full-test-suite description: Executes comprehensive test suite across unit, integration, E2E, database, protocols, and intelligence algorithms user-invocable: true
Run Full Test Suite Skill
Purpose
Executes comprehensive test suite across all categories: unit, integration, E2E, database, protocols, and intelligence algorithms.
CLAUDE.md Compliance
- ✅ Runs all deterministic tests
- ✅ Uses synthetic data (no external dependencies)
- ✅ Tests both success and error paths
- ✅ Validates code quality
Usage
Run this skill:
- Before committing code
- Before pull requests
- Before releases
- After major refactoring
- Daily CI validation
Prerequisites
- Cargo and Rust toolchain
- Test dependencies installed
Commands
Full Test Suite
# Run ALL tests (unit + integration + doc tests)
cargo test --all-features
Category-Based Testing
# Use the category test runner
./scripts/category-test-runner.sh all
Specific Test Categories
Unit Tests
# All library unit tests
cargo test --lib -- --quiet
Integration Tests
# All integration tests
cargo test --test '*' -- --quiet
# Specific integration test
cargo test --test mcp_multitenant_complete_test -- --nocapture
Doc Tests
# Documentation example tests
cargo test --doc -- --quiet
Intelligence Tests
# Basic intelligence algorithms
cargo test --test intelligence_tools_basic_test -- --nocapture
# Advanced intelligence algorithms
cargo test --test intelligence_tools_advanced_test -- --nocapture
Protocol Tests
# MCP protocol tests
cargo test protocol -- --quiet
# OAuth tests
cargo test oauth -- --quiet
# Authentication tests
cargo test auth -- --quiet
Database Tests
# Database abstraction layer
cargo test database --lib -- --quiet
# Database plugins (SQLite)
cargo test --test database_plugins_comprehensive_test --features sqlite
# PostgreSQL (requires Docker)
./scripts/test-postgres.sh
Performance Testing
# Run benchmarks (if configured)
cargo bench --bench '*' || echo "No benchmarks configured"
Parallel vs Sequential
# Parallel execution (default, faster)
cargo test --all-features
# Sequential execution (for database tests with shared state)
cargo test --all-features -- --test-threads=1
Test Output Modes
Quiet Mode (Summary Only)
# Show only pass/fail summary
cargo test --all-features --quiet
Verbose Mode (Show Output)
# Show println! and debug output
cargo test --all-features -- --nocapture
Show Only Failures
# Run tests and show only failures
cargo test --all-features 2>&1 | grep -A 10 "FAILED"
Test Filtering
By Name
# Run specific test
cargo test test_vdot_calculation
# Run tests matching pattern
cargo test multitenant
# Run tests in specific module
cargo test intelligence::algorithms
By Feature Flag
# Test with specific features
cargo test --features sqlite
cargo test --features postgresql
cargo test --features testing
Exclude Tests
# Skip expensive tests
cargo test --all-features -- --skip test_expensive_operation
# Skip integration tests
cargo test --lib
Success Criteria
- ✅ All unit tests pass (>100 tests)
- ✅ All integration tests pass (>50 tests)
- ✅ All doc tests pass
- ✅ No flaky tests
- ✅ No ignored tests without explanation
- ✅ Test coverage > 80%
- ✅ No test failures in CI
- ✅ All tests complete in < 5 minutes
Quick Test Commands Cheat Sheet
# Fast check (unit tests only)
cargo test --lib --quiet
# Full test suite
cargo test --all-features
# Specific test with output
cargo test test_name -- --nocapture
# Multi-tenant isolation
cargo test --test mcp_multitenant_complete_test
# Intelligence algorithms
cargo test --test intelligence_tools_basic_test
# Database tests
cargo test database
# Protocol compliance
cargo test protocol
# Authentication
cargo test auth oauth
# Everything in parallel
./scripts/category-test-runner.sh all
Related Files
scripts/category-test-runner.sh- Test orchestrationtests/- Integration tests directorytests/common.rs- Shared test utilities
Related Skills
test-multitenant-isolation- Multi-tenant testingtest-intelligence-algorithms- Algorithm validationtest-mcp-compliance- Protocol compliance
Score
Total Score
65/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
✓最近の活動
1ヶ月以内に更新
+10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
✓タグ
1つ以上のタグが設定されている
+5
Reviews
💬
Reviews coming soon

