Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TestData ¶
type TestData struct {
// contains filtered or unexported fields
}
TestData stores all the data of a test suite.
func LoadTestSuiteData ¶
LoadTestSuiteData loads test suite data from file.
func (*TestData) GenerateOutputIfNeeded ¶
GenerateOutputIfNeeded generate the output file.
func (*TestData) GetTestCases ¶
GetTestCases gets the test cases for a test function.
func (*TestData) GetTestCasesWithoutOut ¶
GetTestCasesWithoutOut gets the test cases for a test function without separate output. This is used for tests where the test data includes both inputs and expected outputs in the same structure (e.g., when there is no separate output file).
Click to show internal directories.
Click to hide internal directories.