Run Full Test Suite
Testing & Qualityrun-full-test-suiteRun Full Test Suite is an Agent Skill for testing & quality published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Executes comprehensive test suite across unit, integration, E2E, database, protocols, and intelligence algorithms
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/testing/run-full-test-suite-async-io-pierre-mcp-server-3/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/run-full-test-suite, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
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
Full CI Suite
# Run the full CI validation suite
./scripts/ci/lint-and-test.sh
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/testing/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
# Full CI validation
./scripts/ci/lint-and-test.sh
Related Files
scripts/ci/lint-and-test.sh- Full CI validation suitetests/- Integration tests directorytests/common.rs- Shared test utilities
Related Skills
test-multitenant-isolation- Multi-tenant testingtest-intelligence-algorithms- Algorithm validationtest-mcp-compliance- Protocol compliance