testsuites

package
v1.0.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package testsuites contains embedded test suite data used when running conformance tests. While it is possible to point the test runner at other files, by default, it will use the test cases embedded in this package. This package embeds all *.yaml files in this folder.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadTestSuites

func LoadTestSuites() (map[string][]byte, error)

LoadTestSuites returns a map of file paths to their contents for the embedded corpus of test suites. The file names are the names of test suite YAML files.

func LoadTestSuitesFromFiles

func LoadTestSuitesFromFiles(paths []string) (map[string][]byte, error)

LoadTestSuitesFromFiles loads the test suites specified in the given paths. If a provided path is not found, is a directory, or is not a YAML file, the function will return an error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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