mix test.suite (ex_mcp v0.9.0)

View Source

Run specific test suites for ExMCP.

Usage

mix test.suite <suite_name> [options]

Available Suites

  • unit - Fast unit tests only (default)
  • compliance - MCP specification compliance tests
  • integration - Integration tests with real transports
  • transport - Transport-specific tests
  • security - Security-related tests
  • performance - Performance and stress tests
  • all - All tests including slow ones
  • ci - Tests suitable for CI (excludes manual/flaky tests)

Examples

# Run only unit tests (fast)
mix test.suite unit

# Run compliance tests
mix test.suite compliance

# Run integration tests with coverage
mix test.suite integration --cover

# Run all tests
mix test.suite all

Options

All standard mix test options are supported, including:

  • --cover - Run with coverage
  • --trace - Run with detailed trace
  • --max-cases - Set max concurrent test cases