conformance

package
v1.6.7 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2026 License: Apache-2.0 Imports: 9 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 conformance runs the CTIS conformance vectors (the conformance/ directory) against this implementation. The same vectors let any other implementation check itself: they are plain JSON, see conformance/README.md.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Result

type Result struct {
	Suite string // for example "canonical/domain.json" or "documents"
	Name  string
	Err   string // empty when the vector passed
}

Result is the outcome of one vector.

func Failures

func Failures(rs []Result) []Result

Failures returns the results that did not pass.

func Run

func Run(dir string) ([]Result, error)

Run executes every vector under dir and returns one Result per vector. It returns an error only when dir cannot be read at all.

Jump to

Keyboard shortcuts

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