package test

import "github.com/vmware/govmomi/test"

Package test contains functions that implement common functionality between tests. The code (non-test) in this package intentionally does not take any dependendies outside the vim25 tree.

Index

Functions

func HasDocker

func HasDocker() bool

func NewAuthenticatedClient

func NewAuthenticatedClient(t *testing.T) *vim25.Client

NewAuthenticatedClient creates a new vim25.Client, authenticates the user specified in the test URL, and returns it.

func URL

func URL() *url.URL

URL parses the GOVMOMI_TEST_URL environment variable if set.

Source Files

doc.go helper.go

Directories

PathSynopsis
test/functional
Version
v0.48.1 (latest)
Published
Feb 11, 2025
Platform
linux/amd64
Imports
10 packages
Last checked
2 months ago

Tools for package owners.