MCPcopy Index your code
hub / github.com/go-task/task / WithFixtureTemplating

Function WithFixtureTemplating

task_test.go:260–262  ·  view source on GitHub ↗

WithFixtureTemplating enables templating for the golden fixture files with the default set of data. This is useful if the golden file is dynamic in some way (e.g. contains user-specific directories). To add more data, see WithFixtureTemplateData.

()

Source from the content-addressed store, hash-verified

258// way (e.g. contains user-specific directories). To add more data, see
259// WithFixtureTemplateData.
260func WithFixtureTemplating() TestOption {
261 return &fixtureTemplatingTestOption{}
262}
263
264type fixtureTemplatingTestOption struct{}
265

Callers 7

TestJsonListFormatFunction · 0.85
TestEmptyTaskfileFunction · 0.85
TestSpecialVarsFunction · 0.85
TestStatusFunction · 0.85
TestForCmdsFunction · 0.85
TestForDepsFunction · 0.85
TestIncludeChecksumFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…