Documentation ¶
Index ¶
- func CompileOptTestFile(env *quasigo.Env, targetFunc, pkgPath string, parsed *ParsedTestFile) (quasigo.Func, error)
- func CompileTestFile(env *quasigo.Env, targetFunc, pkgPath string, parsed *ParsedTestFile) (quasigo.Func, error)
- func CompileTestFunc(env *quasigo.Env, fn string, parsed *ParsedTestFile) (quasigo.Func, error)
- type ParsedTestFile
- type Runner
- type RunnerTarget
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompileOptTestFile ¶
func CompileTestFile ¶
func CompileTestFunc ¶
Types ¶
type ParsedTestFile ¶
type ParsedTestFile struct { Ast *ast.File Pkg *types.Package Types *types.Info Fset *token.FileSet }
func ParseGoFile ¶
func ParseGoFile(pkgPath, src string) (*ParsedTestFile, error)
type Runner ¶
type Runner struct { Targets []RunnerTarget NewEnv func() *quasigo.Env // contains filtered or unexported fields }
type RunnerTarget ¶
Click to show internal directories.
Click to hide internal directories.