...

Package test

import "helm.sh/helm/v3/internal/test"
Overview
Index
Subdirectories

Overview ▾

func AssertGoldenFile

func AssertGoldenFile(t TestingT, actualFileName string, expectedFilename string)

AssertGoldenFile asserts that the content of the actual file matches the contents of the expected file

func AssertGoldenString

func AssertGoldenString(t TestingT, actual, filename string)

AssertGoldenString asserts that the given string matches the contents of the given file.

type HelperT

HelperT describes a test with a helper function

type HelperT interface {
    Helper()
}

type TestingT

TestingT describes a testing object compatible with the critical functions from the testing.T type

type TestingT interface {
    Fatal(...interface{})
    Fatalf(string, ...interface{})
    HelperT
}

Subdirectories

Name Synopsis
..