Documentation ¶
Overview ¶
Package et stands for Encore Tests and provides a number of functions and tools for writing fully integrated test suites for Encore applications.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TopicHelpers ¶
type TopicHelpers[T any] interface { // PublishedMessages returns a slice of all messages published during this test on this topic. PublishedMessages() []T }
TopicHelpers provides functions for interacting with the backing topic implementation during unit tests. It is designed to help test code that uses the pubsub.Topic
Note all functions on this TopicHelpers are scoped to the current test and will only impact and observe state from the current test
Click to show internal directories.
Click to hide internal directories.