newe2e

package module
v0.50.3-rc.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 8, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

README

E2E Tests

This folder contains tests and utilities to write and run agent end to end tests based on Pulumi.

Documentation

See https://pkg.go.dev/github.com/DataDog/datadog-agent/test/new-e2e@main/pkg/utils/e2e.

Development in VSCode

This is a sub-module within datadog-agent. VSCode will complain about the multiple go.mod files. While waiting for a full repo migration to go workspaces, create a go workspace file and add test/new-e2e to workspaces

go work init
go work use . ./test/new-e2e

Use VsCode tasks to wrap aws-vault

The agent-sandbox: test current file can be used to launch test on a file withtout having to launch the whole VsCode wrapped by aws-vault exec. To use it copy the .template files in .vscode and remove the .template extension. You need to open the new-e2e folder

Note > go.work file is currently ignored in datadog-agent

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
runner
Package runner implements local and ci profile runners
Package runner implements local and ci profile runners
runner/parameters
Package parameters implements parameters for profiles
Package parameters implements parameters for profiles
utils/clients
Package clients implements utility clients
Package clients implements utility clients
utils/e2e
Package e2e provides the API to manage environments and organize E2E tests.
Package e2e provides the API to manage environments and organize E2E tests.
utils/e2e/client
Package client contains clients used to communicate with the remote service
Package client contains clients used to communicate with the remote service
utils/e2e/client/agentclientparams
Package agentclientparams implements function parameters for [e2e.Agent]
Package agentclientparams implements function parameters for [e2e.Agent]
utils/e2e/client/executeparams
Package executeparams implements function parameters for [client.vmClient]
Package executeparams implements function parameters for [client.vmClient]
utils/e2e/params
Package params implements function parameters for [e2e.Suite]
Package params implements function parameters for [e2e.Suite]
utils/infra
Package infra implements utilities to interact with a Pulumi infrastructure
Package infra implements utilities to interact with a Pulumi infrastructure
scenarios
connector
Package main implements the SSH connector between gitlab runners, metal instances, and micro VMs
Package main implements the SSH connector between gitlab runners, metal instances, and micro VMs
connector/sshtools
Package sshtools allows execution of SSH commands easily
Package sshtools allows execution of SSH commands easily
tests
agent-platform/common
Package common contains basic test operation for agent-platform tests
Package common contains basic test operation for agent-platform tests
agent-platform/common/file-manager
Package filemanager implement interfaces to run install-script tests
Package filemanager implement interfaces to run install-script tests
agent-platform/common/helper
Package helper implement interfaces to get some information that can be OS specific
Package helper implement interfaces to get some information that can be OS specific
agent-platform/common/pkg-manager
Package pkgmanager contains pkgmanager implementations
Package pkgmanager contains pkgmanager implementations
agent-platform/common/svc-manager
Package svcmanager contains svcmanager implementations
Package svcmanager contains svcmanager implementations
agent-platform/install
Package install create function to install the agent
Package install create function to install the agent
agent-platform/install/installparams
Package installparams implements function parameters for agent install functions
Package installparams implements function parameters for agent install functions
agent-platform/platforms
Package platforms exposes variable with content of platfoms.json file
Package platforms exposes variable with content of platfoms.json file
agent-subcommands/config
Package config contains helpers and e2e tests for config subcommand
Package config contains helpers and e2e tests for config subcommand
containers
Package containers for all containers new E2E tests
Package containers for all containers new E2E tests
cws/lib
Package cws holds cws test related functions
Package cws holds cws test related functions
ndm/snmp
Package snmp contains e2e tests for snmp
Package snmp contains e2e tests for snmp
npm
Package npm for all NPM new E2E tests
Package npm for all NPM new E2E tests

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL