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.
Click to show internal directories.
Click to hide internal directories.