Help us shape the future of Go! Take the 2026 Go Developer Survey

embeddingtest

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package embeddingtest provides a reusable contract suite for Embedder implementations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(t *testing.T, newEmbedder Factory)

Run exercises the behavior required of every Embedder implementation.

Types

type Factory

type Factory func() embeddingcontract.Embedder

Factory returns an Embedder for each contract subtest.

Jump to

Keyboard shortcuts

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