tests

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupTestEnvironment

func SetupTestEnvironment(t *testing.T) (projectDir, homeDir string, cleanup func())

setupTestEnvironment creates a temporary project and a temporary home directory.

func SetupTestProject

func SetupTestProject(t *testing.T) (string, func())

SetupTestProject creates a temporary directory with a dummy metadata.json file. It returns the path to the temporary directory and a cleanup function.

Types

This section is empty.

Jump to

Keyboard shortcuts

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