test/ directory
Directories ΒΆ
Path | Synopsis |
---|---|
test/benchmarks | |
test/benchmarks/base | Package base holds utility methods common to the base tests. |
test/benchmarks/database | Package database holds benchmarks around database applications. |
test/benchmarks/fs | |
test/benchmarks/fs/fsbench | Package fsbench provides utility functions for filesystem benchmarks. |
test/benchmarks/harness | Package harness holds utility code for running benchmarks on Docker. |
test/benchmarks/media | Package media holds benchmarks around media processing applications. |
test/benchmarks/ml | Package ml holds benchmarks around machine learning performance. |
test/benchmarks/network | Package network holds benchmarks around raw network performance. |
test/benchmarks/tcp | Binary tcp_proxy is a simple TCP proxy. |
test/benchmarks/tools | Package tools holds tooling to couple command formatting and output parsers together. |
test/cmd | |
test/cmd/test_app | Binary test_app is like a swiss knife for tests that need to run anything inside the sandbox. |
test/e2e | Package integration is empty. |
test/fsstress | Package fsstress is empty. |
test/gpu | |
test/gpu/cuda | Package cuda holds libraries for testing CUDA workloads. |
test/gpu/ollama | Package ollama provides an Ollama API client. |
test/gpu/stablediffusion | Package stablediffusion provides utilities to generate images with Stable Diffusion. |
test/gpu/vllm | |
test/image | Package image is empty. |
test/iptables | Package iptables contains a set of iptables tests implemented as TestCases |
test/iptables/runner | Package main runs iptables tests from within a docker container. |
test/kubernetes | Package kubernetes contains utilities for gVisor tests. |
test/kubernetes/benchmarks | Package gsutil is used to benchmark the speed of large (10GB) downloads. |
test/kubernetes/benchmarks/httpbench | Package httpbench provides a library for benchmarking an HTTP server. |
test/kubernetes/benchmarks/profiling | Package profiling helps with getting profiles from running benchmarks. |
test/kubernetes/benchmetric | Package benchmetric provides utilities for benchmark metrics. |
test/kubernetes/k8sctx | Package k8sctx is used to manage the lifecycle of a Kubernetes test or benchmark running in one or more Kubernetes clusters. |
test/kubernetes/k8sctx/kubectlctx | Package kubectlctx provides a KubernetesContext that uses one or more kubectl configs to determine the cluster(s) to use for tests and benchmarks. |
test/kubernetes/testcluster | Package testcluster wraps the Kubernetes library for common test operations. |
test/kubernetes/tests | Package cudatest is a test that runs a CUDA workload on k8s clusters. |
test/metricclient | Package metricclient provides utility functions to start, stop, and talk to a metric server. |
test/metricsviz | Package metricsviz charts profiling metrics data and renders them to HTML. |
test/metricsviz/metricsviz_cli | metricsviz_cli visualizes metrics from profiling metrics logs. |
test/packetimpact | |
test/packetimpact/dut | Package dut provides common definitions and utilities to be shared by DUTs. |
test/packetimpact/dut/linux | Package linux provides utilities specific to bringing up linux DUTs. |
test/packetimpact/dut/native | The native binary is used to bring up a native linux DUT. |
test/packetimpact/dut/runsc | The devid binary is used to get the device ID in the runsc container. |
test/packetimpact/internal | |
test/packetimpact/netdevs | |
test/packetimpact/netdevs/netlink | Package netlink has routines to get interfaces information through netlink. |
test/packetimpact/runner | The runner binary is used as the test runner for PacketImpact tests. |
test/packetimpact/testbench | Package testbench has utilities to send and receive packets, and also command the DUT to run POSIX functions. |
test/packetimpact/tests | |
test/root | Package root is used for tests that requires sysadmin privileges run. |
test/rtnetlink | |
test/rtnetlink/linux | tcp_serv creates a TCP server socket, reads data from stdin, and sends that data to the socket. |
test/runner | Binary syscall_test_runner runs the syscall test suites in gVisor containers and on the host platform. |
test/runner/fuse | Binary main starts a fuse server that forwards filesystem operations from /tmp to /fuse. |
test/runner/gtest | Package gtest contains helpers for running google-test tests from Go. |
test/runtimes | |
test/runtimes/proctor | Binary proctor runs the test for a particular runtime. |
test/runtimes/proctor/lib | Package lib contains proctor functions. |
test/runtimes/runner | Binary runner runs the runtime tests in a Docker container. |
test/runtimes/runner/lib | Package lib provides utilities for runner. |
test/secbench | The runner binary executes a single benchmark run and prints out results. |
test/secbench/secbenchdef | Package secbenchdef contains struct definitions for secbench benchmarks. |
test/secfuzz | Package secfuzz allows fuzz-based testing of seccomp-bpf programs. |
test/trace | Package trace is empty. |
test/trace/config | Package config providides helper functions to configure trace sessions. |
test/uds | Package uds contains helpers for testing external UDS functionality. |
- Version
- v0.0.0-20250605235530-a6711d1e1dc6 (latest)
- Published
- Jun 5, 2025
- Platform
- linux/amd64
- Last checked
- 4 hours ago –
Tools for package owners.