ginkgohandler

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2023 License: MIT Imports: 1 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 {
	GetFocusContainerName(*ast.CallExpr) (bool, *ast.Ident)
}

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