Documentation ¶
Index ¶
- func ConvertToMapByTestName(tests []rootLevelTest) map[string]rootLevelTest
- func Execute(input_dir string) []byte
- func ExtractTestCodeAndTaskID(rootLevelTests map[string]rootLevelTest, testName string) (string, uint64)
- func FindAllRootLevelTests(fileName string) []rootLevelTest
- func FindTestFile(codePath string) string
- type ExerciseConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertToMapByTestName ¶
func ConvertToMapByTestName(tests []rootLevelTest) map[string]rootLevelTest
func ExtractTestCodeAndTaskID ¶
func ExtractTestCodeAndTaskID(rootLevelTests map[string]rootLevelTest, testName string) (string, uint64)
return the associated test function code from the given test file
func FindAllRootLevelTests ¶
func FindAllRootLevelTests(fileName string) []rootLevelTest
FindAllRootLevelTests parses the test file and extracts the name, test code and task id for each top level test (parent test) in the file.
func FindTestFile ¶
Types ¶
type ExerciseConfig ¶
Click to show internal directories.
Click to hide internal directories.