Documentation ¶
Index ¶
- func AddFeatureContext(s *godog.Suite)
- func CheckoutApp(appDir, appName string) error
- func CleanFeatureContext(s *godog.Suite)
- func CopyDir(src string, dst string) (err error)
- func CopyFile(src, dst string) (err error)
- func GetTestApplicationDir(appName string) string
- func JoinStringSlices(slices ...[]string) []string
- func RunFeatureContext(s *godog.Suite)
- func SharedFeatureContext(s *godog.Suite)
- func TemplateFeatureContext(s *godog.Suite)
- func TestFeatureContext(s *godog.Suite)
- func TutorialFeatureContext(s *godog.Suite)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddFeatureContext ¶
AddFeatureContext defines the festure context for features/add/**/*.feature
func CheckoutApp ¶
CheckoutApp copies the example app into the given appDir
func CleanFeatureContext ¶
CleanFeatureContext defines the festure context for features/clean.feature nolint gocyclo
func CopyDir ¶
CopyDir recursively copies a directory tree, attempting to preserve permissions. Source directory must exist, destination directory must *not* exist. Symlinks are ignored and skipped. nolint gocyclo
func CopyFile ¶
CopyFile copies the contents of the file named src to the file named by dst. The file will be created if it does not already exist. If the destination file exists, all it's contents will be replaced by the contents of the source file. The file mode will be copied from the source and the copied data is synced/flushed to stable storage.
func GetTestApplicationDir ¶
GetTestApplicationDir returns the path to the test application with the given name
func JoinStringSlices ¶ added in v0.35.0
JoinStringSlices joins the given slices
func RunFeatureContext ¶
RunFeatureContext defines the festure context for features/run nolint gocyclo
func SharedFeatureContext ¶
SharedFeatureContext defines the festure context shared between the sub commands nolint: gocyclo
func TemplateFeatureContext ¶
TemplateFeatureContext defines the festure context for features/template/**/*.feature nolint gocyclo
func TestFeatureContext ¶
TestFeatureContext defines the feature context for features/test
func TutorialFeatureContext ¶
TutorialFeatureContext defines the festure context for the tutorial nolint gocyclo
Types ¶
This section is empty.