Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/cucumber/godog
/ types & classes
Types & classes
120 in github.com/cucumber/godog
⨍
Functions
646
◇
Types & classes
120
↓ 26 callers
TypeAlias
ctxKey
internal/models/stepdef_test.go:20
↓ 19 callers
TypeAlias
ctxKey
suite_context_test.go:180
↓ 3 callers
TypeAlias
sortPickleStepResultsByPickleStepID
internal/formatters/fmt.go:58
↓ 2 callers
TypeAlias
Godogs
Godogs is an example behavior holder.
_examples/godogs/godogs.go:8
↓ 2 callers
TypeAlias
sortFeaturesByName
internal/formatters/fmt.go:42
↓ 2 callers
TypeAlias
sortPicklesByID
internal/formatters/fmt.go:48
↓ 1 callers
FuncType
ColorFunc
ColorFunc is a helper type to create colorized strings.
colors/colors.go:30
↓ 1 callers
Struct
StepContext
StepContext allows registering step hooks.
test_context.go:113
↓ 1 callers
TypeAlias
StepResultStatus
StepResultStatus ...
internal/models/results.go:62
↓ 1 callers
TypeAlias
snippetSortByMethod
internal/formatters/undefined_snippets_gen.go:96
↓ 1 callers
TypeAlias
stackFrame
Frame represents a program counter inside a stack frame.
stacktrace.go:14
FuncType
AfterScenarioHook
AfterScenarioHook defines a hook after scenario.
test_context.go:137
FuncType
AfterStepHook
AfterStepHook defines a hook after step.
test_context.go:167
Struct
Attachment
suite.go:76
Struct
Base
Base is a base formatter.
internal/formatters/fmt_base.go:39
Struct
BaseFormatter
internal/formatters/fmt_multi_test.go:56
FuncType
BeforeScenarioHook
BeforeScenarioHook defines a hook before scenario.
test_context.go:128
FuncType
BeforeStepHook
BeforeStepHook defines a hook before step.
test_context.go:151
Struct
Case
internal/parser/parser_test.go:17
Struct
Cuke
Cuke ...
internal/formatters/fmt_cucumber.go:37
Struct
CukeFeatureJSON
CukeFeatureJSON ...
internal/formatters/fmt_cucumber.go:177
Struct
DummyFormatter
internal/formatters/fmt_multi_test.go:60
Struct
Events
Events - Events formatter
internal/formatters/fmt_events.go:26
Struct
FS
FS is a wrapper that falls back to `os`.
internal/storage/fs.go:9
Struct
Feature
internal/flags/options.go:85
Struct
Feature
Feature is an internal object to group together the parsed gherkin document, the pickles and the raw content.
internal/models/feature.go:10
Interface
FlushFormatter
FlushFormatter is a `Formatter` but can be flushed.
formatters/fmt.go:78
Interface
Formatter
Formatter is an interface for feature runner output summary presentation. New formatters may be created to represent suite results in different ways.
formatters/fmt.go:63
FuncType
FormatterFunc
FormatterFunc builds a formatter with given suite name and io.Writer to record output
formatters/fmt.go:85
Struct
JUnit
JUnit renders test results in JUnit format.
internal/formatters/fmt_junit.go:27
Struct
JunitError
internal/formatters/fmt_junit_test.go:134
Struct
JunitFailure
internal/formatters/fmt_junit_test.go:129
Struct
JunitPackageSuite
JunitPackageSuite ...
internal/formatters/fmt_junit.go:237
Struct
JunitPackageSuite
JunitPackageSuite represents the JUnit XML structure for test suites
internal/formatters/fmt_junit_test.go:98
Struct
JunitTestCase
internal/formatters/fmt_junit_test.go:120
Struct
JunitTestSuite
internal/formatters/fmt_junit_test.go:109
TypeAlias
Keyword
formatters/fmt.go:101
Struct
MultiFormatter
MultiFormatter passes test progress to multiple formatters.
internal/formatters/fmt_multi.go:12
Struct
Options
Options are suite run options flags are mapped to these options. It can also be used together with godog.RunWithOptions to run test suite from go sou
internal/flags/options.go:17
Struct
PickleAttachment
PickleAttachment ...
internal/models/results.go:22
Struct
PickleResult
PickleResult ...
internal/models/results.go:16
Struct
PickleStepResult
PickleStepResult ...
internal/models/results.go:29
Struct
Pretty
Pretty is a formatter for readable output.
internal/formatters/fmt_pretty.go:30
Struct
Progress
Progress is a minimalistic formatter.
internal/formatters/fmt_progress.go:34
Struct
ScenarioContext
ScenarioContext allows various contexts to register steps and event handlers. When running a scenario, the instance of ScenarioContext is passed to a
test_context.go:108
Struct
StepDefinition
StepDefinition is a registered step definition contains a StepHandler and regexp which is used to match a step. Args which were matched by last execut
formatters/fmt.go:95
Struct
StepDefinition
StepDefinition ...
internal/models/stepdef.go:25
TypeAlias
Steps
Steps allows to nest steps instead of returning an error in step func it is possible to return combined steps: func multistep(name string) godog.Ste
test_context.go:41
Struct
Storage
Storage is a thread safe in-mem storage
internal/storage/storage.go:40
Struct
TestRunStarted
TestRunStarted ...
internal/models/results.go:11
Struct
TestSuite
TestSuite allows for configuration of the Test Suite Execution
run.go:319
Struct
TestSuiteContext
TestSuiteContext allows various contexts to register event handlers. When running a test suite, the instance of TestSuiteContext is passed to all fun
test_context.go:68
Interface
TestingT
TestingT is a subset of the public methods implemented by go's testing.T. It allows assertion libraries to be used with godog, provided they depend on
testingt.go:19
Struct
ansiColorWriter
colors/ansi_windows.go:34
Struct
ansiColorWriter
colors/ansi_others.go:12
Struct
apiFeature
_examples/api/api_test.go:15
Struct
apiFeature
_examples/db/api_test.go:22
Struct
asserter
suite_context_test.go:897
Struct
attachmentKey
suite.go:82
Struct
builderTestCase
internal/builder/builder_test.go:335
TypeAlias
color
a color code type
colors/colors.go:11
Struct
consoleScreenBufferInfo
colors/ansi_windows.go:194
Struct
contexts
internal/builder/builder.go:437
Struct
coord
colors/ansi_windows.go:186
TypeAlias
csiState
colors/ansi_windows.go:18
TypeAlias
csiState
internal/formatters/fmt_color_tag_test.go:13
Struct
cukeComment
internal/formatters/fmt_cucumber.go:118
Struct
cukeDataTableRow
internal/formatters/fmt_cucumber.go:161
Struct
cukeDocstring
internal/formatters/fmt_cucumber.go:123
Struct
cukeElement
internal/formatters/fmt_cucumber.go:165
Struct
cukeEmbedding
internal/formatters/fmt_cucumber.go:144
Struct
cukeMatch
internal/formatters/fmt_cucumber.go:140
Struct
cukeResult
internal/formatters/fmt_cucumber.go:134
Struct
cukeStep
internal/formatters/fmt_cucumber.go:150
Struct
cukeTag
internal/formatters/fmt_cucumber.go:129
TypeAlias
drawType
colors/ansi_windows.go:112
Struct
emojiFmt
_examples/custom-formatter/emoji.go:34
Struct
ev
suite_context_test.go:339
FuncType
expectedAndActualAssertion
func(t assert.TestingT, expected, actual interface{}, msgAndArgs ...interface{}) bool
suite_context_test.go:895
Struct
firedEvent
suite_context_test.go:224
Struct
flagged
flags.go:137
Struct
fm
flags.go:58
Struct
formatter
internal/formatters/fmt_multi.go:17
Struct
godogFeaturesScenario
suite_context_test.go:229
Struct
godogsCtxKey
_examples/godogs/godogs_test.go:55
Struct
junitError
internal/formatters/fmt_junit.go:210
Struct
junitFailure
internal/formatters/fmt_junit.go:205
Struct
junitTestCase
internal/formatters/fmt_junit.go:216
Struct
junitTestSuite
internal/formatters/fmt_junit.go:225
Struct
multiContextKey
suite_context_test.go:384
Struct
noColors
colors/no_colors.go:9
Struct
onFlushFormatter
internal/formatters/fmt_flushwrap.go:20
TypeAlias
outputMode
colors/writer.go:9
TypeAlias
parseResult
colors/ansi_windows.go:26
Struct
progressOutput
run_test.go:721
Struct
randomSeed
randomSeed implements `flag.Value`, see https://golang.org/pkg/flag/#Value
flags.go:223
Struct
registeredFormatter
formatters/fmt.go:10
TypeAlias
repeater
internal/formatters/fmt_multi.go:22
Struct
runner
run.go:41
FuncType
scenarioInitializer
func(*ScenarioContext)
run.go:38
next →
1–100 of 120, ranked by callers