doctest

package
v1.85.2 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TestDocumentService

func TestDocumentService(t *testing.T, serviceFactory FnServiceFactory)

TestDocumentService runs an exhaustive suite of tests against a document.Service.

func TestDocumentServiceNoList

func TestDocumentServiceNoList(t *testing.T, serviceFactory FnServiceFactory)

TestDocumentService runs an exhaustive suite of tests against a document.Service, but omits any List tests.

func TestDocumentServicePreconditions

func TestDocumentServicePreconditions(t *testing.T, serviceFactory FnServiceFactory)

TestDocumentServicePreconditions allow implementations to to test preconditions separately as how and what preconditions work differs between implementations.

Types

type FnServiceFactory

type FnServiceFactory func(t *testing.T) document.Service

type Reaper

type Reaper interface {
	// contains filtered or unexported methods
}

type Segador

type Segador struct {
	Name   string
	Traits map[string]interface{}
	// contains filtered or unexported fields
}

func Alice

func Alice() Segador

func Bob

func Bob() Segador

func MakeSegador

func MakeSegador(opts ...segadorOpt) (s Segador)

Jump to

Keyboard shortcuts

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