scriptHelper

package
v0.0.0-...-08474b0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DeepTestScript             = ""
	DeepTestScriptSimple       = ""
	DeepTestDeclare            = ""
	DeepTestDeclarePost        = ""
	DeepTestScenarioCustomCode = ""
	DeepTestDeclareChai        = ""

	MockScript  = ""
	MockDeclare = ""

	JslibsDeclares = ""

	DatapoolGetScript = ""
	VariablesGet      = ""
	VariablesSet      = ""
	VariablesClear    = ""
	CustomScript      = ""
)

Functions

func GenResultMsg

func GenResultMsg(po *domain.ScriptBase)

func GetModule

func GetModule(name ScriptType) (ret string)

func GetScript

func GetScript(name ScriptType) string

Types

type ScriptType

type ScriptType string
const (
	ScriptDeepTest                    ScriptType = "deeptest"
	ScriptDeepTestSimple              ScriptType = "deeptest-simple"
	DeclareDeepTest                   ScriptType = "deeptest.d"
	DeclareDeepTestPost               ScriptType = "deeptest-post.d"
	DeclareDeepTestScenarioCustomCode ScriptType = "deeptest-scenario-custom-code.d"
	DeclareChai                       ScriptType = "chai.d"

	ModuleMockJs ScriptType = "mockjs.js"

	ScriptMock  ScriptType = "mock"
	DeclareMock ScriptType = "mock.d"

	DeclareJslibs ScriptType = "jslibs"

	ScriptCustom ScriptType = "custom"

	SnippetDatapoolGet    ScriptType = "datapool_get"
	SnippetVariablesGet   ScriptType = "variables_get"
	SnippetVariablesSet   ScriptType = "variables_set"
	SnippetVariablesClear ScriptType = "variables_clear"
)

func (ScriptType) String

func (e ScriptType) String() string

Jump to

Keyboard shortcuts

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