testsuites

package
v1.0.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 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 file system and a slice of file names that represent the embedded corpus of test suites. The file name are the names of test suite YAML files, and the returned file system can be used to read their contents.

func LoadTestSuitesFromFile

func LoadTestSuitesFromFile(path string) (map[string][]byte, error)

LoadTestSuitesFromFile loads the test suites specified in the given path. If the 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