name: test-integration-docker description: Run comprehensive integration tests using real skills (Vercel, Anthropic, Expo) in a Docker container. Managed via Makefile for standard lifecycle control.
Integration Testing with Docker & Real Skills
This skill executes integration tests in a containerized environment using actual skill repositories from the community. It uses a Makefile to manage the build and test lifecycle.
Workflow Checklist
- Step 1: Environment Readiness
- Verify Docker is running.
- Step 2: Execute Tests
- Run
make -C integration_tests testin the project root.
- Run
- Step 3: Lifecycle Management
- Use
make -C integration_tests cleanif needed to prune images.
- Use
Detailed Instructions
1. Run Integration Tests
Ensure the Docker daemon is active, then execute the following command from the project root to build the image and run the full test suite:
make -C integration_tests test-verbose
2. Standard Makefile Targets
You can also use the Makefile directly for granular control:
Build the image only
make -C integration_tests build
Clean up images
make -C integration_tests clean
Success Criteria
- Docker image builds successfully with
gitandmakeinstalled. cafCLI is linked and available in the container.- Real-world skills are cloned from GitHub (Vercel, Anthropic).
caf skills addsuccessfully installs these real skills.- All integration scenarios pass.
Scenarios Covered
- CLI Health: Version and help checks.
- Real-World Skills (Vercel): Clones
vercel-labs/agent-skillsand installs skills likeweb-design-guidelines. - Real-World Skills (Anthropic): Clones
anthropics/skillsand installs document skills. - Subagent Verification: Lists available subagents in the clean container.
- Multi-Agent Matrix: Tests are executed for both
Claude CodeandCursoragents. - Scope Isolation: Tests are executed for both
projectandglobalscopes, verifying that global installations do not leak into the project'spackage.json.