Documentation
¶
Overview ¶
Package platformtest runs a real workspace platform for tests of its clients: the CLI and the agent. Sign-in runs inside it (at /auth), so its codes and its invites land in one Inbox. It needs PostgreSQL from pgtest.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Inbox ¶
type Inbox struct {
// contains filtered or unexported fields
}
Inbox keeps the emails the platform sends: sign-in codes and invites.
type Platform ¶
type Platform struct {
URL string
Service *platform.Service
Inbox *Inbox
// Close stops it before the test ends: an agent then works without it.
Close func()
}
Platform is a platform on a test HTTP server.
Click to show internal directories.
Click to hide internal directories.