testing

package
v2.17.3 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2026 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Overview

Package testing starts isolated Francis hosts for owning-logic tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(t stdtesting.TB, databaseURLs ...string) *francis.Runtime

New constructs a host whose factories can be registered before Start. With no database URL it uses an isolated in-memory provider. Pass a temporary SQLite URL or the gated Postgres test URL to exercise durable persistence.

func Start

func Start(t stdtesting.TB, runtime *francis.Runtime)

Start starts a previously registered host, verifies its listener, and joins its shutdown during test cleanup.

Types

This section is empty.

Jump to

Keyboard shortcuts

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