fakebundle

package
v0.0.0-...-b5d9cbe Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Overview

Package fakebundle provides a fake implementation of test bundles.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Install

func Install(t *gotesting.T, regs ...*testing.Registry) (bundleGlob string)

Install installs fake test bundles to a temporary directory. regs is a map whose key is a bundle name and value is an entity registry. On success, it returns a file path glob matching test bundle executables. Installed files are cleaned up automatically when the current unit test finishes.

func InstallAt

func InstallAt(t *gotesting.T, dir string, regs ...*testing.Registry)

InstallAt is similar to Install, but it installs fake test bundles to the specified directory.

Types

This section is empty.

Jump to

Keyboard shortcuts

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