tests

package
v1.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 2, 2026 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunServerTests

func RunServerTests(t *testing.T, chats chat.Store, messages messaging.Store, teardown func())

RunServerTests runs the shared messaging.Server test suite. chats and messages are the backing stores; teardown resets both between tests.

func RunStoreTests

func RunStoreTests(t *testing.T, s messaging.Store, teardown func())

RunStoreTests runs the shared messaging.Store test suite against s. teardown is called between tests to reset the store.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL