Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecDirMD2 ¶
func ExecDirMD2( t *testing.T, filesystem fs.FS, dirName string, expectationPrefix string, fn func(t *testing.T, input, expectation string), )
ExecDirMD2 applies fn to each .md file in dirName recursively. Expects the markdown file to contain two code blocks, one for the input and another one for the expected output.
func ExecDirMD3 ¶
func ExecDirMD3( t *testing.T, filesystem fs.FS, dirName string, expectationPrefix string, fn func(t *testing.T, schema, input, expectation string), )
ExecDirMD3 applies fn to each .md file in dirName recursively. Expects the markdown file to contain three code blocks, one for the GraphQL schema, another one for the template and another one for the expected output.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.