-
Notifications
You must be signed in to change notification settings - Fork 1
/
cucumber.nim
35 lines (33 loc) · 1.16 KB
/
cucumber.nim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# cucumber.nim
#
# cucumber BDD testing framework library
import typeinfo
import tables
import sets
import cucumber/types
import cucumber/step
import cucumber/hook
import cucumber/main
import cucumber/parameter
export main.main, main.withDir
export types.StepType, types.StepResult, types.StepResultValue
export types.HookType
export types.ContextType
export types.StringSet, types.TagFilter, types.CucumberOptions
export step.Given, step.When, step.Then
export step.ShowGiven, step.ShowWhen, step.ShowThen
export step.StepDefinition, step.StepArgs, step.stepDefinitions
export step.resetContext
export step.re, step.Regex, step.RegexMatch, step.match
export step.Option, step.get, step.captures, step.Captures, step.`[]`
export hook.hookDefinitions, hook.`[]`, hook.hookTypeFor
export hook.BeforeAll, hook.AfterAll
export hook.BeforeFeature, hook.AfterFeature
export hook.BeforeScenario, hook.AfterScenario
export hook.BeforeStep, hook.AfterStep
export typeinfo.Any, toAny
export tables.`[]`, tables.`[]=`
export sets.contains
#export parameter.DeclareRefParamType, parameter.DeclareParamType
#export parameter.parseInt, parameter.parseBool, parameter.parseString
export parameter