steps

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2026 License: MIT Imports: 20 Imported by: 0

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

View Source
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.

Jump to

Keyboard shortcuts

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