ginkgohandler

package
v0.18.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler interface {
	HandleGinkgoSpecs(ast.Expr, types.Config, *analysis.Pass) bool
	// contains filtered or unexported methods
}

Handler provide different handling, depend on the way ginkgo was imported, whether in imported with "." name, custom name or without any name.

func GetGinkgoHandler

func GetGinkgoHandler(file *ast.File) Handler

GetGinkgoHandler returns a ginkgor handler according to the way ginkgo was imported in the specific file

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL