feature

package
Version: v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 4, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package feature provides ...

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type List

type List struct {
	Features    []string
	Definitions []string
}

List represents the files and subdirectories files from a feature folder, including step definitions.

func ParseDir

func ParseDir(fpath, defPattern string) (list List, err error)

ParseDir make use of tools input data to generate definions binary and features struct. fpath represents a relative path, to a .feature file or a dir with .feature files. defPattern represents definitions folders name, shall be located in features directory. Function returns a list of features found in features file/dir and corresponding definitions. An error will be returned if error occur, if not caller are responsible to call Definitions.Remove().

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL