Documentation ¶
Overview ¶
Package itest contains unit tests targeting dependency injection.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AgentT ¶
type AgentT struct {
// contains filtered or unexported fields
}
AgentT is similar to what testing.T is in golang packages.
type AllConnectorsFlavorMocks ¶
AllConnectorsFlavorMocks is container for mocks for AllConnectorsFlavor
func MockAllConnectorsFlavor ¶
func MockAllConnectorsFlavor(t *testing.T, flavorLocal *local.FlavorLocal) (*connectors.AllConnectorsFlavor, *AllConnectorsFlavorMocks)
MockAllConnectorsFlavor initializes embeded ETCD & Kafka MOCK
Example:
kafkamock, _, _ := kafkamux.Mock(t) MockAllConnectorsFlavor(t, localFlavor)
type Given ¶
type Given struct { }
Given is composition of multiple test step methods (see BDD Given keyword)
Click to show internal directories.
Click to hide internal directories.