run-e2e

Installation
SKILL.md

Run E2E tests from test/new-e2e/tests/ using dda inv new-e2e-tests.run.

Instructions

  1. Parse $ARGUMENTS to determine what to run. The user may provide:

    • A test directory path (e.g., windows/install-test, agent-platform/upgrade, containers)
    • A test function name (e.g., TestInstall, TestUpgrade)
    • Flags to pass through (see below)
    • A combination of the above
  2. Resolve the test target:

    • The invoke task automatically prepends test/new-e2e/ to targets, so targets must be relative to that directory (e.g., ./tests/agent-subcommands/flare, NOT ./test/new-e2e/tests/...)
    • If the user gives a directory like agent-subcommands/flare, use ./tests/agent-subcommands/flare as --targets
    • If the user gives a partial name, search for matching directories under test/new-e2e/tests/ using Glob, then strip the test/new-e2e/ prefix for the target
    • If the user gives a test function name (starts with Test), find which package contains it using Grep under test/new-e2e/tests/, then set --targets to the package path (relative to test/new-e2e/) and --run to the test name
    • If ambiguous, list the matching options and ask the user to pick one
Installs
1
GitHub Stars
3.6K
First Seen
Jun 16, 2026
run-e2e — datadog/datadog-agent