Documentation ¶
Index ¶
Constants ¶
View Source
const ( ComponentTestGroup = "component-test" // kafka group name for the component test consumer DrainTopicTimeout = 5 * time.Second // maximum time to wait for a topic to be drained DrainTopicMaxMessages = 1000 // maximum number of messages that will be drained from a topic MinioCheckRetries = 3 // maximum number of retires to validate that a file is present in minio )
Variables ¶
View Source
var ( BuildTime = "1625046891" GitCommit = "7434fe334d9f51b7239f978094ea29d10ac33b16" Version = "" )
Functions ¶
This section is empty.
Types ¶
type Component ¶
type Component struct { componenttest.ErrorFeature DatasetAPI *httpfake.HTTPFake CantabularSrv *httpfake.HTTPFake CantabularAPIExt *httpfake.HTTPFake // contains filtered or unexported fields }
func NewComponent ¶
func NewComponent() *Component
func (*Component) Close ¶
func (c *Component) Close()
Close kills the application under test, and then it shuts down the testing producer.
func (*Component) RegisterSteps ¶
func (c *Component) RegisterSteps(ctx *godog.ScenarioContext)
RegisterSteps maps the human-readable regular expressions to their corresponding functions
Click to show internal directories.
Click to hide internal directories.