provider-tck/embed.go

spec · specification/assets/provider-tck/embed.go · go · Apache-2.0
integration, Integration / API

Embeds provider conformance artifacts into a Go module for easy consumption by Go test suites.

// Source: https://github.com/open-feature/spec | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
// Package providertck carries the provider conformance assets as a Go module,
// so a Go conformance suite can depend on a specific revision of them the way
// it depends on any other module.
//
// The other language suites consume this directory through a git submodule,
// which works because a wheel or a JAR is built from a working tree where the
// submodule is present. A Go module is distributed as a zip built from the
// VCS tree, where a submodule is only a gitlink and its files are absent, so
// the Go suite would otherwise have to commit a copy of every artifact and
// police i

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key