Documentation ¶
Overview ¶
Package e2etest contains some helpers to make external E2E tests using Telegram test server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EchoBot ¶
type EchoBot struct {
// contains filtered or unexported fields
}
EchoBot is a simple echo message bot.
func NewEchoBot ¶
NewEchoBot creates new echo bot.
type Suite ¶
Suite is struct which contains external E2E test parameters.
func NewSuite ¶
func NewSuite(tb require.TestingT, config TestOptions) *Suite
NewSuite creates new Suite.
func (*Suite) Authenticate ¶
Authenticate authenticates client on test server.
func (*Suite) RetryAuthenticate ¶ added in v0.21.2
RetryAuthenticate authenticates client on test server.
type TestOptions ¶ added in v0.50.0
TestOptions contains some common test server settings.
Click to show internal directories.
Click to hide internal directories.