Documentation
¶
Overview ¶
Package steps holds the Godog step definitions for phpbotscout's E2E behaviour tests.
The scenarios describe the service as an operator experiences it — what it watches, what it refuses, what it says — and run against a fake platform provider rather than Discord. The behaviour under test is the bot's, not the gateway's; the gateway has its own regression tests upstream.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ErrScenario = errors.New("scenario")
ErrScenario is the root of every scenario failure. Step definitions report assertions rather than returning values a caller branches on, so one sentinel carrying the detail is both what the linter wants and what reads best in a Godog report.
Functions ¶
func Register ¶
func Register(sc *godog.ScenarioContext)
Register wires the step definitions into a Godog suite.
func RegisterRefresh ¶
func RegisterRefresh(sc *godog.ScenarioContext)
RegisterRefresh wires the refresh step definitions into a Godog suite.
Types ¶
This section is empty.