MCPcopy Create free account

hub / github.com/cucumber/godog / functions

Functions646 in github.com/cucumber/godog

↓ 1 callersFunctionNewProgressFmt
NewProgressFmt creates a new progress formatter.
fmt.go:84
↓ 1 callersFunctionRed
Red will accept an interface and return a colorized red string.
colors/colors.go:46
↓ 1 callersMethodRetrieveFeatures
RetrieveFeatures will parse and return the features based on test suite option Any modification on the parsed features will not have any impact on the
run.go:362
↓ 1 callersMethodSkip
Skip logs the provided arguments and marks the test as skipped but does not halt execution of the step.
testingt.go:43
↓ 1 callersMethodSkipf
Skipf logs the formatted message and marks the test as skipped but does not halt execution of the step.
testingt.go:46
↓ 1 callersFunctionWrapOnFlush
WrapOnFlush wrap a `formatters.Formatter` in a `formatters.FlushFormatter`, which only executes when `Flush` is called
internal/formatters/fmt_flushwrap.go:12
↓ 1 callersFunctionbindRootCmdFlags
(flagSet *pflag.FlagSet)
cmd/godog/internal/cmd_root.go:47
↓ 1 callersFunctionbuildAndRunGodog
(args []string)
cmd/godog/internal/cmd_run.go:62
↓ 1 callersFunctionbuildCmdRunFunc
(cmd *cobra.Command, args []string)
cmd/godog/internal/cmd_build.go:41
↓ 1 callersMethodbuildCukeElement
(pickle *messages.Pickle)
internal/formatters/fmt_cucumber.go:214
↓ 1 callersMethodbuildCukeElements
(pickles []*messages.Pickle)
internal/formatters/fmt_cucumber.go:80
↓ 1 callersFunctionbuildCukeFeature
(feat *models.Feature)
internal/formatters/fmt_cucumber.go:189
↓ 1 callersMethodbuildCukeFeatures
(features []*models.Feature)
internal/formatters/fmt_cucumber.go:55
↓ 1 callersMethodbuildCukeStep
(pickle *messages.Pickle, stepResult models.PickleStepResult)
internal/formatters/fmt_cucumber.go:258
↓ 1 callersMethodbuildJUNITPackageSuite
()
internal/formatters/fmt_junit.go:85
↓ 1 callersFunctionbuildTempFile
build temporary file content if godog package is not present in currently tested package
internal/builder/builder.go:315
↓ 1 callersFunctionbuildTestMain
buildTestMain if given package is valid it scans test files for contexts and produces a testmain source code.
internal/builder/builder.go:357
↓ 1 callersFunctioncallstack1
()
stacktrace_test.go:11
↓ 1 callersFunctioncallstack2
()
stacktrace_test.go:15
↓ 1 callersFunctioncallstack3
()
stacktrace_test.go:19
↓ 1 callersFunctionchangeColor
(param []byte)
colors/ansi_windows.go:250
↓ 1 callersMethodchangeColor
()
internal/formatters/fmt_color_tag_test.go:158
↓ 1 callersFunctioncompareLists
compareLists compares two lists of strings and prints them with wrapped text.
internal/formatters/fmt_output_test.go:274
↓ 1 callersFunctionconvertWinAttr
(textAttr *textAttributes)
colors/ansi_windows.go:239
↓ 1 callersFunctioncreateModeAnsiColorWriter
NewModeAnsiColorWriter create and initializes a new ansiColorWriter by specifying the outputMode.
colors/writer.go:33
↓ 1 callersMethodfile
file returns the full path to the file that contains the function for this Frame's pc.
stacktrace.go:22
↓ 1 callersFunctionfilterImportCfg
filterImportCfg strips unsupported lines from imports configuration.
internal/builder/builder.go:247
↓ 1 callersFunctionfindToolDir
()
internal/builder/builder.go:485
↓ 1 callersFunctionflagSet
(opt *Options)
flags_v0110.go:20
↓ 1 callersMethodflushBuffer
()
colors/ansi_windows.go:314
↓ 1 callersMethodflushTo
(w io.Writer)
internal/formatters/fmt_color_tag_test.go:72
↓ 1 callersFunctionfmtOutputTest
(fmtName, testName, featureFilePath string)
internal/formatters/fmt_output_test.go:64
↓ 1 callersMethodgetPickleResult
getPickleResult deals with the fact that if there's no result due to 'StopOnFirstFailure' being set, MustGetPickleResult panics.
internal/formatters/fmt_junit.go:53
↓ 1 callersMethodgetPickleStepResult
(stepID string)
internal/formatters/fmt_junit.go:64
↓ 1 callersMethodgetPickleStepResultsByPickleID
(pickleID string)
internal/formatters/fmt_junit.go:75
↓ 1 callersFunctiongetVersion
(w http.ResponseWriter, r *http.Request)
_examples/api/api.go:11
↓ 1 callersFunctiongodogsToContext
(ctx context.Context, g godogs.Godogs)
_examples/godogs/godogs_test.go:57
↓ 1 callersMethodiRunFeatureSuiteWithTags
(tags string)
suite_context_test.go:260
↓ 1 callersFunctionimportPackage
(dir string)
internal/builder/builder.go:290
↓ 1 callersMethodisFailed
isFailed will return an error representing the calls to Fail made during this test
testingt.go:177
↓ 1 callersFunctionisFirstPickleAndNoRule
(feature *models.Feature, pickle *messages.Pickle, rule *messages.Rule)
internal/formatters/fmt_pretty.go:381
↓ 1 callersFunctionisFirstScenarioInRule
(rule *messages.Rule, scenario *messages.Scenario)
internal/formatters/fmt_pretty.go:367
↓ 1 callersFunctionisLastStep
(pickle *messages.Pickle, step *messages.PickleStep)
internal/formatters/fmt_events.go:344
↓ 1 callersFunctionisParameterChar
(b byte)
colors/ansi_windows.go:349
↓ 1 callersFunctionisParameterChar
(b byte)
internal/formatters/fmt_color_tag_test.go:99
↓ 1 callersFunctionkeywordMatches
(k formatters.Keyword, stepType messages.PickleStepType)
suite.go:558
↓ 1 callersMethodlengthPickle
(keyword, name string)
internal/formatters/fmt_pretty.go:584
↓ 1 callersMethodline
line returns the line number of source code of the function for this Frame's pc.
stacktrace.go:40
↓ 1 callersFunctionlistFmtOutputTestsFeatureFiles
()
internal/formatters/fmt_output_test.go:43
↓ 1 callersFunctionmatch
Based on http://behat.readthedocs.org/en/v2.5/guides/6.cli.html#gherkin-filters
internal/tags/tag_filter.go:28
↓ 1 callersMethodmatchStep
(step *messages.PickleStep)
suite.go:119
↓ 1 callersFunctionmaxColLengths
longest gives a list of longest columns of all rows in Table
internal/formatters/fmt_pretty.go:495
↓ 1 callersMethodmaybeUndefined
(ctx context.Context, text string, arg interface{}, stepType messages.PickleStepType)
suite.go:408
↓ 1 callersFunctionmaybeVendoredGodog
()
internal/builder/builder.go:267
↓ 1 callersFunctionnewEmojiFmt
(suite string, out io.Writer)
_examples/custom-formatter/emoji.go:27
↓ 1 callersFunctionoddOrEven
(odd, even int)
run_test.go:735
↓ 1 callersFunctionoddOrEven
(odd, even int)
internal/formatters/fmt_output_test.go:218
↓ 1 callersFunctionok
ok writes data to response with 200 status
_examples/api/api.go:38
↓ 1 callersFunctionok
ok writes data to response with 200 status
_examples/db/api.go:81
↓ 1 callersFunctionparseBytes
(path string, feature []byte, dialect string, newIDFunc func() string)
internal/parser/parser.go:57
↓ 1 callersFunctionparseEscapeSequence
(command byte, param []byte)
colors/ansi_windows.go:301
↓ 1 callersFunctionparseFeatureDir
(fsys fs.FS, dir, dialect string, newIDFunc func() string)
internal/parser/parser.go:73
↓ 1 callersMethodparseFeatures
()
suite_context_test.go:675
↓ 1 callersFunctionparsePath
(fsys fs.FS, path, dialect string, newIDFunc func() string)
internal/parser/parser.go:98
↓ 1 callersMethodprintFeature
(feature *messages.Feature)
internal/formatters/fmt_pretty.go:137
↓ 1 callersMethodprintOutlineExample
(pickle *messages.Pickle, step *messages.PickleStep, backgroundSteps int)
internal/formatters/fmt_pretty.go:246
↓ 1 callersMethodprintSummaryLegend
()
_examples/custom-formatter/emoji.go:92
↓ 1 callersMethodprintUndefinedPickle
(pickle *messages.Pickle)
internal/formatters/fmt_pretty.go:176
↓ 1 callersMethodresetResponse
(*godog.Scenario)
_examples/api/api_test.go:19
↓ 1 callersMethodresetResponse
(*godog.Scenario)
_examples/db/api_test.go:27
↓ 1 callersMethodrunAfterScenarioHooks
(ctx context.Context, pickle *messages.Pickle, lastStepErr error)
suite.go:370
↓ 1 callersMethodrunBeforeScenarioHooks
(ctx context.Context, pickle *messages.Pickle)
suite.go:344
↓ 1 callersFunctionrunCmdRunFunc
(cmd *cobra.Command, args []string)
cmd/godog/internal/cmd_run.go:45
↓ 1 callersFunctionrunGodog
(bin string, args []string)
cmd/godog/internal/cmd_run.go:77
↓ 1 callersMethodrunStep
(ctx context.Context, pickle *Scenario, step *Step, scenarioErr error, isFirst, isLast bool)
suite.go:131
↓ 1 callersMethodrunSubStep
(ctx context.Context, text string, def *models.StepDefinition)
suite.go:479
↓ 1 callersFunctionrunWithOptions
(suiteName string, runner runner, opt Options)
run.go:168
↓ 1 callersFunctionrunsFromPackage
(fp string)
run.go:304
↓ 1 callersFunctionsetConsoleTextAttribute
(hConsoleOutput uintptr, wAttributes uint16)
colors/ansi_windows.go:213
↓ 1 callersFunctionsetContextTestingT
(ctx context.Context, dt *testingT)
testingt.go:196
↓ 1 callersFunctionthereShouldBeRemaining
(ctx context.Context, remaining int)
_examples/godogs/godogs_test.go:82
↓ 1 callersMethodthereWereNumEventsFired
(_ string, expected int, typ string)
suite_context_test.go:755
↓ 1 callersFunctiontrimGoPath
(file string)
stacktrace.go:31
↓ 1 callersMethodusers
(w http.ResponseWriter, r *http.Request)
_examples/db/api.go:22
↓ 1 callersMethodvalidate
()
internal/builder/builder.go:443
↓ 1 callersFunctionversionCmdRunFunc
(cmd *cobra.Command, args []string)
cmd/godog/internal/cmd_version.go:24
MethodAfterScenario
AfterScenario registers a function or method to be run after every scenario. Deprecated: use After.
test_context.go:189
MethodAfterStep
AfterStep registers a function or method to be run after every step. It may be convenient to return a different kind of error in order to print more
test_context.go:220
MethodAmbiguous
Ambiguous captures ambiguous step.
internal/formatters/fmt_multi_test.go:154
MethodAmbiguous
Ambiguous captures ambiguous step.
internal/formatters/fmt_events.go:322
MethodAmbiguous
Ambiguous captures ambiguous step.
internal/formatters/fmt_base.go:89
MethodAmbiguous
Failed captures failed step.
internal/formatters/fmt_pretty.go:118
MethodAmbiguous
Ambiguous triggers Ambiguous for all added formatters.
internal/formatters/fmt_multi.go:101
MethodAmbiguous
Ambiguous implements formatters.Formatter.
internal/formatters/fmt_flushwrap.go:39
MethodAmbiguous
Ambiguous steps.
internal/formatters/fmt_progress.go:155
FunctionAvailableFormatters
AvailableFormatters gives a map of all formatters registered with their name as key and description as value
formatters/fmt.go:46
FunctionBaseFormatterFunc
BaseFormatterFunc implements the FormatterFunc for the base formatter.
internal/formatters/fmt_base.go:24
MethodBeforeScenario
BeforeScenario registers a function or method to be run before every scenario. It is a good practice to restore the default state before every scenar
test_context.go:177
MethodBeforeStep
BeforeStep registers a function or method to be run before every step. Deprecated: use ScenarioContext.StepContext() and StepContext.Before.
test_context.go:201
FunctionBlack
Black will accept an interface and return a colorized black string.
colors/colors.go:56
← previousnext →201–300 of 646, ranked by callers