MCPcopy Create free account

hub / github.com/cucumber/godog / functions

Functions646 in github.com/cucumber/godog

FunctionBuild
Build creates a test package like go test command at given target path. If there are no go files in tested directory, then it simply builds a godog ex
test_context.go:367
FunctionCucumberFormatterFunc
CucumberFormatterFunc implements the FormatterFunc for the cucumber formatter
internal/formatters/fmt_cucumber.go:32
FunctionCyan
Cyan will accept an interface and return a colorized cyan string.
colors/colors.go:51
MethodDefined
Defined receives step definition.
internal/formatters/fmt_multi_test.go:101
MethodDefined
Defined receives step definition.
internal/formatters/fmt_events.go:221
MethodDefined
Defined receives step definition.
internal/formatters/fmt_base.go:66
MethodDefined
Defined triggers Defined for all added formatters.
internal/formatters/fmt_multi.go:59
MethodDefined
Defined implements formatters.Formatter.
internal/formatters/fmt_flushwrap.go:46
MethodError
(args ...interface{})
testingt.go:126
MethodError
()
stacktrace.go:125
MethodErrorf
(format string, args ...interface{})
testingt.go:132
MethodErrorf
(format string, args ...interface{})
suite_context_test.go:901
FunctionEventsFormatterFunc
EventsFormatterFunc implements the FormatterFunc for the events formatter
internal/formatters/fmt_events.go:21
FunctionExampleTestSuite_Run_subtests
()
example_subtests_test.go:9
MethodFailed
(scenario *godog.Scenario, step *godog.Step, match *godog.StepDefinition, err error)
_examples/custom-formatter/emoji.go:69
MethodFailed
Failed captures failed step.
internal/formatters/fmt_multi_test.go:135
MethodFailed
Failed captures failed step.
internal/formatters/fmt_events.go:302
MethodFailed
Failed captures failed step.
internal/formatters/fmt_base.go:81
MethodFailed
Failed captures failed step.
internal/formatters/fmt_pretty.go:108
MethodFailed
Failed triggers Failed for all added formatters.
internal/formatters/fmt_multi.go:66
MethodFailed
Failed implements formatters.Formatter.
internal/formatters/fmt_flushwrap.go:53
MethodFailed
Failed captures failed step.
internal/formatters/fmt_progress.go:145
MethodFatal
(args ...interface{})
testingt.go:147
MethodFatalf
(format string, args ...interface{})
testingt.go:152
MethodFeature
Feature receives gherkin document.
internal/formatters/fmt_multi_test.go:87
MethodFeature
Feature receives gherkin document.
internal/formatters/fmt_events.go:93
MethodFeature
Feature receives gherkin document.
internal/formatters/fmt_base.go:60
MethodFeature
Feature receives gherkin document.
internal/formatters/fmt_pretty.go:47
MethodFeature
Feature triggers Feature for all added formatters.
internal/formatters/fmt_multi.go:45
MethodFeature
Feature implements formatters.Formatter.
internal/formatters/fmt_flushwrap.go:60
MethodFlush
Flush the logs.
internal/formatters/fmt_flushwrap.go:102
MethodFormat
Format formats the frame according to the fmt.Formatter interface. %s source file %d source line %n function name %v equivalent to %s
stacktrace.go:60
MethodFormat
(s fmt.State, verb rune)
stacktrace.go:127
FunctionInitializeScenario
(ctx *godog.ScenarioContext)
_examples/attachments/attachments_test.go:42
FunctionInitializeScenario
(ctx *godog.ScenarioContext)
_examples/assert-godogs/godogs_test.go:56
FunctionInitializeScenario
(ctx *godog.ScenarioContext)
_examples/incorrect-project-structure/main.go:5
FunctionInitializeScenario
(ctx *godog.ScenarioContext)
_examples/api/api_test.go:90
FunctionInitializeScenario
(ctx *godog.ScenarioContext)
_examples/custom-formatter/godogs_test.go:67
FunctionInitializeScenario
(ctx *godog.ScenarioContext)
_examples/godogs/godogs_test.go:99
FunctionInitializeScenario
(ctx *godog.ScenarioContext)
_examples/db/api_test.go:126
FunctionInitializeScenario
(ctx *godog.ScenarioContext)
internal/builder/builder_test.go:19
FunctionInitializeTestSuite
(ctx *godog.TestSuiteContext)
_examples/custom-formatter/godogs_test.go:63
FunctionInitializeTestSuite
(ctx *godog.TestSuiteContext)
_examples/godogs/godogs_test.go:95
MethodIsBoolFlag
If a Value has an IsBoolFlag() bool method returning true, the command-line parser makes -name equivalent to -name=true rather than using the next com
flags.go:253
FunctionJUnitFormatterFunc
JUnitFormatterFunc implements the FormatterFunc for the junit formatter
internal/formatters/fmt_junit.go:22
MethodLen
()
internal/formatters/fmt.go:44
MethodLen
()
internal/formatters/fmt.go:60
MethodLen
()
internal/formatters/undefined_snippets_gen.go:98
MethodLess
(i, j int)
internal/formatters/fmt.go:45
MethodLess
(i, j int)
internal/formatters/fmt.go:51
MethodLess
(i, j int)
internal/formatters/fmt.go:61
MethodLess
(i, j int)
internal/formatters/undefined_snippets_gen.go:106
MethodName
()
testingt.go:101
FunctionNewCukeFmt
NewCukeFmt creates a new Cucumber JSON formatter.
fmt.go:99
FunctionNewEventsFmt
NewEventsFmt creates a new event streaming formatter.
fmt.go:94
FunctionNewJUnitFmt
NewJUnitFmt creates a new JUnit formatter.
fmt.go:104
FunctionNewPrettyFmt
NewPrettyFmt creates a new pretty formatter.
fmt.go:89
MethodPassed
(scenario *godog.Scenario, step *godog.Step, match *godog.StepDefinition)
_examples/custom-formatter/emoji.go:42
MethodPassed
Passed captures passed step.
internal/formatters/fmt_multi_test.go:109
MethodPassed
Passed captures passed step.
internal/formatters/fmt_events.go:272
MethodPassed
Passed captures passed step.
internal/formatters/fmt_base.go:70
MethodPassed
Passed captures passed step.
internal/formatters/fmt_pretty.go:78
MethodPassed
Passed triggers Passed for all added formatters.
internal/formatters/fmt_multi.go:73
MethodPassed
(pickle *messages.Pickle, step *messages.PickleStep, definition *formatters.StepDefinition)
internal/formatters/fmt_flushwrap.go:32
MethodPassed
Passed captures passed step.
internal/formatters/fmt_progress.go:115
MethodPending
(scenario *godog.Scenario, step *godog.Step, match *godog.StepDefinition)
_examples/custom-formatter/emoji.go:78
MethodPending
Pending captures pending step.
internal/formatters/fmt_multi_test.go:145
MethodPending
Pending captures pending step.
internal/formatters/fmt_events.go:312
MethodPending
Pending captures pending step.
internal/formatters/fmt_base.go:85
MethodPending
Pending captures pending step.
internal/formatters/fmt_pretty.go:128
MethodPending
Pending triggers Pending for all added formatters.
internal/formatters/fmt_multi.go:94
MethodPending
Pending implements formatters.Formatter.
internal/formatters/fmt_flushwrap.go:67
MethodPending
Pending captures pending step.
internal/formatters/fmt_progress.go:165
MethodPickle
Pickle receives scenario.
internal/formatters/fmt_multi_test.go:95
MethodPickle
Pickle receives scenario.
internal/formatters/fmt_events.go:39
MethodPickle
Pickle receives scenario.
internal/formatters/fmt_base.go:63
MethodPickle
Pickle takes a gherkin node for formatting.
internal/formatters/fmt_pretty.go:65
MethodPickle
Pickle triggers Pickle for all added formatters.
internal/formatters/fmt_multi.go:52
MethodPickle
(pickle *messages.Pickle)
internal/formatters/fmt_flushwrap.go:26
FunctionPrettyFormatterFunc
PrettyFormatterFunc implements the FormatterFunc for the pretty formatter
internal/formatters/fmt_pretty.go:23
MethodResetBeforeEachScenario
(ctx context.Context, sc *Scenario)
suite_context_test.go:239
FunctionS
S repeats a space n times
internal/utils/utils.go:9
MethodSetStorage
(*storage.Storage)
fmt.go:48
MethodSetStorage
SetStorage assigns gherkin data storage.
internal/formatters/fmt_base.go:49
MethodSetStorage
SetStorage passes storage to all added formatters.
internal/formatters/fmt_multi.go:29
MethodSkip
(args ...interface{})
testingt.go:157
MethodSkipNow
()
testingt.go:167
MethodSkipf
(format string, args ...interface{})
testingt.go:162
MethodSkipped
()
testingt.go:172
MethodSkipped
(scenario *godog.Scenario, step *godog.Step, match *godog.StepDefinition)
_examples/custom-formatter/emoji.go:51
MethodSkipped
(*messages.Pickle, *messages.PickleStep, *StepDefinition)
formatters/fmt.go:70
MethodSkipped
Skipped captures skipped step.
internal/formatters/fmt_multi_test.go:117
MethodSkipped
Skipped captures skipped step.
internal/formatters/fmt_events.go:282
MethodSkipped
Skipped captures skipped step.
internal/formatters/fmt_base.go:73
MethodSkipped
Skipped captures skipped step.
internal/formatters/fmt_pretty.go:88
MethodSkipped
Skipped triggers Skipped for all added formatters.
internal/formatters/fmt_multi.go:80
MethodSkipped
Skipped implements formatters.Formatter.
internal/formatters/fmt_flushwrap.go:74
MethodSkipped
Skipped captures skipped step.
internal/formatters/fmt_progress.go:125
MethodSummary
()
_examples/custom-formatter/emoji.go:87
MethodSummary
Pickle receives scenario.
internal/formatters/fmt_multi_test.go:162
← previousnext →301–400 of 646, ranked by callers