testutil

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Fixtures = &fixtures{}

Functions

func Assets

func Assets(t *testing.T) web.Assets

Assets returns the _real_ assets used to render the web server. Instead of being embedded normally, this will hacky load the assets at runtime.

func TempFile

func TempFile(t *testing.T, filename, content string) string

TempFile creates a temporary file with the given filename and content. The file's directory is deleted when the test finishes.

Types

This section is empty.

Jump to

Keyboard shortcuts

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