protocoltest

package
v0.1.74 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2026 License: Apache-2.0 Imports: 7 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package protocoltest gives tests spec's examples of the eval protocol: the synthetic sample files and reports of contracts/examples/eval/v1/. The module of spec's contracts carries them as files of its zip, not embedded, and CI checks tutor out without the spec submodule, so they are read where Go keeps the module: in the module cache, at the version the build takes.

Index

Constants

View Source
const Module = "github.com/altnovatrail/spec/contracts"

Module is the module of spec's contracts.

Variables

This section is empty.

Functions

func Examples

func Examples(t testing.TB) fs.FS

Examples is the folder of the examples of novatrail.eval.v1 in the module of spec's contracts, at the version the test's build takes. A test that cannot find them fails: it never passes on none.

Types

This section is empty.

Jump to

Keyboard shortcuts

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