sequential-test-execution
Installation
SKILL.md
Contains Hooks
This skill uses Claude hooks which can execute code automatically in response to events. Review carefully before installing.
Sequential Test Execution
Ensures test runs execute one at a time to prevent resource conflicts.
Core Principle
One Test Run at a Time
Test environments share databases, ports, and network resources. Concurrent test execution causes migration conflicts, port collisions, and flaky test results.
Detection Method
Uses Docker container state (not file locks) to detect running tests:
- Self-recovering:
docker compose run --rmauto-removes containers on exit - No stale locks:
docker psreflects actual running state - Graceful degradation: If Docker is unavailable, tests proceed normally