INNER CODE UNIT · Go

TestGenerateTests

cweill/gotests · gotests_test.go:19

func TestGenerateTests(t *testing.T) {
	type args struct {
		srcPath            string
		only               *regexp.Regexp
		excl               *regexp.Regexp
		exported           bool
		printInputs        bool
		subtests           bool
		parallel           bool
		named              bool
		importer           types.Importer
		templateDir        string
		template           string
		templateParamsPath string
		templateData       [][]byte
	}
	tests := []struct {
		name              string

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…