--- description: Run all tests for a Co-op Cloud recipe argument-hint: allowed-tools: [Bash, Read, Write, Glob, Grep, WebFetch] --- # Recipe Test Run all available tests for a Co-op Cloud recipe. The recipe name is: $ARGUMENTS Read and follow the instructions in `.claude/commands/includes/logging.md`. Read and follow the instructions in `.claude/commands/includes/guidelines.md`. ## Steps 1. **Free server resources** by running `/test-context-reset $ARGUMENTS` to undeploy unrelated apps from the test server while keeping this recipe and its dependencies running. 2. **Locate the test directory** at `recipe-info/$ARGUMENTS/tests/`. - If the directory does not exist, tell the user no tests are configured for this recipe and suggest running `/recipe-check $ARGUMENTS` first (which creates the directory structure). - Stop here if no test directory is found. 3. **Read the test plan** from `recipe-info/$ARGUMENTS/test.md`. - Note the target URL and any manual verification steps listed. - Note which automated check scripts are referenced. 4. **Discover all test scripts** by globbing `recipe-info/$ARGUMENTS/tests/*.py`. 5. **Run each test script** in sequence: - Execute each `.py` script with `python3 recipe-info/$ARGUMENTS/tests/