Test:run kind

From kagenti/kagenti · View interactive version

Test:run kind is an AI agent skill from the GitHub repository kagenti/kagenti. Run E2E tests on local Kind cluster

How to use this skill

Skill file

Run Tests on Kind

Auto-approved: All test execution on Kind is auto-approved.

Context-Safe Execution (MANDATORY)

Test output MUST go to files. Test runs produce hundreds of lines.

export LOG_DIR="${LOG_DIR:-${WORKSPACE_DIR:-/tmp}/rossoctl-tdd}"
mkdir -p "$LOG_DIR"

# Pattern: redirect test output
command > $LOG_DIR/test-run.log 2>&1; echo "EXIT:$?"
# On failure: Task(subagent_type='Explore') with Grep to find FAILED|ERROR

When to Use

Run All Tests

./.github/scripts/local-setup/kind-full-test.sh --include-test > $LOG_DIR/test-all.log 2>&1; echo "EXIT:$?"

Run Specific Tests

./.github/scripts/local-setup/kind-full-test.sh --include-test --pytest-filter "test_agent" > $LOG_DIR/test-filtered.log 2>&1; echo "EXIT:$?"

Run with pytest Directly

uv run pytest rossoctl/tests/e2e/ -v -k "test_agent_simple_query"

Run from Worktree

.worktrees/my-feature/.github/scripts/local-setup/kind-full-test.sh --include-test

Environment

| Variable | Value |

|----------|-------|

| Agent URL | http://localhost:8000 (port-forward) |

| Keycloak | http://keycloak.localtest.me:8080 |

| MLflow | Disabled in Kind |

Related Skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.