Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cucumber/godog
/ functions
Functions
646 in github.com/cucumber/godog
⨍
Functions
646
◇
Types & classes
120
Function
Build
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
Function
CucumberFormatterFunc
CucumberFormatterFunc implements the FormatterFunc for the cucumber formatter
internal/formatters/fmt_cucumber.go:32
Function
Cyan
Cyan will accept an interface and return a colorized cyan string.
colors/colors.go:51
Method
Defined
Defined receives step definition.
internal/formatters/fmt_multi_test.go:101
Method
Defined
Defined receives step definition.
internal/formatters/fmt_events.go:221
Method
Defined
Defined receives step definition.
internal/formatters/fmt_base.go:66
Method
Defined
Defined triggers Defined for all added formatters.
internal/formatters/fmt_multi.go:59
Method
Defined
Defined implements formatters.Formatter.
internal/formatters/fmt_flushwrap.go:46
Method
Error
(args ...interface{})
testingt.go:126
Method
Error
()
stacktrace.go:125
Method
Errorf
(format string, args ...interface{})
testingt.go:132
Method
Errorf
(format string, args ...interface{})
suite_context_test.go:901
Function
EventsFormatterFunc
EventsFormatterFunc implements the FormatterFunc for the events formatter
internal/formatters/fmt_events.go:21
Function
ExampleTestSuite_Run_subtests
()
example_subtests_test.go:9
Method
Failed
(scenario *godog.Scenario, step *godog.Step, match *godog.StepDefinition, err error)
_examples/custom-formatter/emoji.go:69
Method
Failed
Failed captures failed step.
internal/formatters/fmt_multi_test.go:135
Method
Failed
Failed captures failed step.
internal/formatters/fmt_events.go:302
Method
Failed
Failed captures failed step.
internal/formatters/fmt_base.go:81
Method
Failed
Failed captures failed step.
internal/formatters/fmt_pretty.go:108
Method
Failed
Failed triggers Failed for all added formatters.
internal/formatters/fmt_multi.go:66
Method
Failed
Failed implements formatters.Formatter.
internal/formatters/fmt_flushwrap.go:53
Method
Failed
Failed captures failed step.
internal/formatters/fmt_progress.go:145
Method
Fatal
(args ...interface{})
testingt.go:147
Method
Fatalf
(format string, args ...interface{})
testingt.go:152
Method
Feature
Feature receives gherkin document.
internal/formatters/fmt_multi_test.go:87
Method
Feature
Feature receives gherkin document.
internal/formatters/fmt_events.go:93
Method
Feature
Feature receives gherkin document.
internal/formatters/fmt_base.go:60
Method
Feature
Feature receives gherkin document.
internal/formatters/fmt_pretty.go:47
Method
Feature
Feature triggers Feature for all added formatters.
internal/formatters/fmt_multi.go:45
Method
Feature
Feature implements formatters.Formatter.
internal/formatters/fmt_flushwrap.go:60
Method
Flush
Flush the logs.
internal/formatters/fmt_flushwrap.go:102
Method
Format
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
Method
Format
(s fmt.State, verb rune)
stacktrace.go:127
Function
InitializeScenario
(ctx *godog.ScenarioContext)
_examples/attachments/attachments_test.go:42
Function
InitializeScenario
(ctx *godog.ScenarioContext)
_examples/assert-godogs/godogs_test.go:56
Function
InitializeScenario
(ctx *godog.ScenarioContext)
_examples/incorrect-project-structure/main.go:5
Function
InitializeScenario
(ctx *godog.ScenarioContext)
_examples/api/api_test.go:90
Function
InitializeScenario
(ctx *godog.ScenarioContext)
_examples/custom-formatter/godogs_test.go:67
Function
InitializeScenario
(ctx *godog.ScenarioContext)
_examples/godogs/godogs_test.go:99
Function
InitializeScenario
(ctx *godog.ScenarioContext)
_examples/db/api_test.go:126
Function
InitializeScenario
(ctx *godog.ScenarioContext)
internal/builder/builder_test.go:19
Function
InitializeTestSuite
(ctx *godog.TestSuiteContext)
_examples/custom-formatter/godogs_test.go:63
Function
InitializeTestSuite
(ctx *godog.TestSuiteContext)
_examples/godogs/godogs_test.go:95
Method
IsBoolFlag
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
Function
JUnitFormatterFunc
JUnitFormatterFunc implements the FormatterFunc for the junit formatter
internal/formatters/fmt_junit.go:22
Method
Len
()
internal/formatters/fmt.go:44
Method
Len
()
internal/formatters/fmt.go:60
Method
Len
()
internal/formatters/undefined_snippets_gen.go:98
Method
Less
(i, j int)
internal/formatters/fmt.go:45
Method
Less
(i, j int)
internal/formatters/fmt.go:51
Method
Less
(i, j int)
internal/formatters/fmt.go:61
Method
Less
(i, j int)
internal/formatters/undefined_snippets_gen.go:106
Method
Name
()
testingt.go:101
Function
NewCukeFmt
NewCukeFmt creates a new Cucumber JSON formatter.
fmt.go:99
Function
NewEventsFmt
NewEventsFmt creates a new event streaming formatter.
fmt.go:94
Function
NewJUnitFmt
NewJUnitFmt creates a new JUnit formatter.
fmt.go:104
Function
NewPrettyFmt
NewPrettyFmt creates a new pretty formatter.
fmt.go:89
Method
Passed
(scenario *godog.Scenario, step *godog.Step, match *godog.StepDefinition)
_examples/custom-formatter/emoji.go:42
Method
Passed
Passed captures passed step.
internal/formatters/fmt_multi_test.go:109
Method
Passed
Passed captures passed step.
internal/formatters/fmt_events.go:272
Method
Passed
Passed captures passed step.
internal/formatters/fmt_base.go:70
Method
Passed
Passed captures passed step.
internal/formatters/fmt_pretty.go:78
Method
Passed
Passed triggers Passed for all added formatters.
internal/formatters/fmt_multi.go:73
Method
Passed
(pickle *messages.Pickle, step *messages.PickleStep, definition *formatters.StepDefinition)
internal/formatters/fmt_flushwrap.go:32
Method
Passed
Passed captures passed step.
internal/formatters/fmt_progress.go:115
Method
Pending
(scenario *godog.Scenario, step *godog.Step, match *godog.StepDefinition)
_examples/custom-formatter/emoji.go:78
Method
Pending
Pending captures pending step.
internal/formatters/fmt_multi_test.go:145
Method
Pending
Pending captures pending step.
internal/formatters/fmt_events.go:312
Method
Pending
Pending captures pending step.
internal/formatters/fmt_base.go:85
Method
Pending
Pending captures pending step.
internal/formatters/fmt_pretty.go:128
Method
Pending
Pending triggers Pending for all added formatters.
internal/formatters/fmt_multi.go:94
Method
Pending
Pending implements formatters.Formatter.
internal/formatters/fmt_flushwrap.go:67
Method
Pending
Pending captures pending step.
internal/formatters/fmt_progress.go:165
Method
Pickle
Pickle receives scenario.
internal/formatters/fmt_multi_test.go:95
Method
Pickle
Pickle receives scenario.
internal/formatters/fmt_events.go:39
Method
Pickle
Pickle receives scenario.
internal/formatters/fmt_base.go:63
Method
Pickle
Pickle takes a gherkin node for formatting.
internal/formatters/fmt_pretty.go:65
Method
Pickle
Pickle triggers Pickle for all added formatters.
internal/formatters/fmt_multi.go:52
Method
Pickle
(pickle *messages.Pickle)
internal/formatters/fmt_flushwrap.go:26
Function
PrettyFormatterFunc
PrettyFormatterFunc implements the FormatterFunc for the pretty formatter
internal/formatters/fmt_pretty.go:23
Method
ResetBeforeEachScenario
(ctx context.Context, sc *Scenario)
suite_context_test.go:239
Function
S
S repeats a space n times
internal/utils/utils.go:9
Method
SetStorage
(*storage.Storage)
fmt.go:48
Method
SetStorage
SetStorage assigns gherkin data storage.
internal/formatters/fmt_base.go:49
Method
SetStorage
SetStorage passes storage to all added formatters.
internal/formatters/fmt_multi.go:29
Method
Skip
(args ...interface{})
testingt.go:157
Method
SkipNow
()
testingt.go:167
Method
Skipf
(format string, args ...interface{})
testingt.go:162
Method
Skipped
()
testingt.go:172
Method
Skipped
(scenario *godog.Scenario, step *godog.Step, match *godog.StepDefinition)
_examples/custom-formatter/emoji.go:51
Method
Skipped
(*messages.Pickle, *messages.PickleStep, *StepDefinition)
formatters/fmt.go:70
Method
Skipped
Skipped captures skipped step.
internal/formatters/fmt_multi_test.go:117
Method
Skipped
Skipped captures skipped step.
internal/formatters/fmt_events.go:282
Method
Skipped
Skipped captures skipped step.
internal/formatters/fmt_base.go:73
Method
Skipped
Skipped captures skipped step.
internal/formatters/fmt_pretty.go:88
Method
Skipped
Skipped triggers Skipped for all added formatters.
internal/formatters/fmt_multi.go:80
Method
Skipped
Skipped implements formatters.Formatter.
internal/formatters/fmt_flushwrap.go:74
Method
Skipped
Skipped captures skipped step.
internal/formatters/fmt_progress.go:125
Method
Summary
()
_examples/custom-formatter/emoji.go:87
Method
Summary
Pickle receives scenario.
internal/formatters/fmt_multi_test.go:162
← previous
next →
301–400 of 646, ranked by callers