E2E Test - End-to-End テスト (project)

SkillDev tools

Run comprehensive E2E tests for cargo-coupling functionality.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the E2E Test - End-to-End テスト (project) skill

About this capability

A coupling analysis tool for Rust projects - measuring the 'right distance' in your code

What this skill tells your AI

The instructions your AI receives, as published by nwiizo/cargo-coupling in .claude/skills/e2e-test/SKILL.md and read by ahel’s review.

Run comprehensive E2E tests for cargo-coupling functionality.

Test Execution

# Create test project
rm -rf /tmp/e2e-test-cargo-coupling
mkdir -p /tmp/e2e-test-cargo-coupling/src/level/enemy

# Create Cargo.toml
cat > /tmp/e2e-test-cargo-coupling/Cargo.toml << 'EOF'
[package]
name = "e2e-test-project"
version = "0.1.0"
edition = "2021"
EOF

# Create test files (lib.rs, level/mod.rs, level/projectile.rs, etc.)
# Then run tests

Test Cases

1. Nested Module Paths (Issue #14)

cargo run -- coupling /tmp/e2e-test-cargo-coupling/src 2>&1 | grep -E "level::enemy::spawner"
# Expected: Module name shows full path, not just "spawner"

2. --exclude-tests (Issue #13)

cargo run -- coupling --exclude-tests /tmp/e2e-test-cargo-coupling/src
# Expected: Test functions excluded from counts

3. JSON Output

cargo run -- coupling --json /tmp/e2e-test-cargo-coupling/src | jq .
# Expected: Valid JSON output

4. Summary Mode

cargo run -- coupling --summary /tmp/e2e-test-cargo-coupling/src
# Expected: Compact summary output

Verification Checklist

TestExpectedStatus
Nested module pathslevel::enemy::spawner
lib.rs module namelib or empty
mod.rs module nameParent directory name
--exclude-testsTest functions excluded
JSON outputValid JSON
--summarySummary only

Quick Test

# Run all unit tests first
cargo test --all-features

# Then run E2E
cargo run -- coupling ./src

Signals

GitHub stars
96
Forks
2
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
e2e-test-nwiizo
Source
github.com/nwiizo/cargo-coupling