recipe

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2026 License: MIT Imports: 23 Imported by: 0

Documentation

Overview

Package recipe runs the cases of a recipe (docs/spec/feature-coverage.md FCV-2 to FCV-4) in Go: the entry of each suite unit, TestRecipe<Recipe><Database>, starts its case with packages/go/testcase and calls Run with the recipe and the database, and Run runs each case as a subtest whose steps call the public API of the orm package that each op names. It has no command line and no output of its own.

Index

Constants

View Source
const None = "none"

None is the database part of a recipe without a database (FCV-3).

Variables

This section is empty.

Functions

func Run

func Run(t *testing.T, path, database string)

Run runs every case of the recipe at path, relative to the test's package directory, on database.

Types

This section is empty.

Jump to

Keyboard shortcuts

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