routertest

package
v1.9.16 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package routertest holds the behavioral suite every router adapter must pass.

Floor assertions run against every adapter. Wide assertions are gated on Capabilities, so an adapter that cannot express a behavior skips it with a logged reason instead of quietly passing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunConformance

func RunConformance(t *testing.T, name string, factory func() shared.RouterAdapter)

RunConformance exercises one adapter. factory must return a fresh adapter on every call, because most subtests register conflicting routes.

Types

This section is empty.

Jump to

Keyboard shortcuts

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