test/

directory
v0.0.0-...-b86692d Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2026 License: AGPL-3.0

Directories

Path Synopsis
Design: docs/architecture/testing/ci-format.md — CI test format parsing
Design: docs/architecture/testing/ci-format.md — CI test format parsing
Package cli registers the ze-test command's functional-test and mock-server handlers.
Package cli registers the ze-test command's functional-test and mock-server handlers.
Design: docs/architecture/testing/ci-format.md — decode test helpers
Design: docs/architecture/testing/ci-format.md — decode test helpers
Package failsyscall fails one named syscall for one launched process, through a seccomp filter rather than a tracer.
Package failsyscall fails one named syscall for one launched process, through a seccomp filter rather than a tracer.
Package fixture provides compiled helper processes for .ci scenarios.
Package fixture provides compiled helper processes for .ci scenarios.
Package golden compares captured bytes against fixtures committed beside the package under test.
Package golden compares captured bytes against fixtures committed beside the package under test.
Package markupcheck holds the static checks over a package that renders markup.
Package markupcheck holds the static checks over a package that renders markup.
mock
cymru
Package cymru implements a deterministic Team Cymru DNS mock server for tests.
Package cymru implements a deterministic Team Cymru DNS mock server for tests.
dns
Package dns implements a deterministic DNS mock server for functional tests.
Package dns implements a deterministic DNS mock server for functional tests.
irr
Package irr implements a deterministic IRR whois mock server for tests.
Package irr implements a deterministic IRR whois mock server for tests.
peeringdb
Package peeringdb implements a deterministic PeeringDB HTTP mock server for tests.
Package peeringdb implements a deterministic PeeringDB HTTP mock server for tests.
radius
Package radius implements a mock RADIUS server (RFC 2865) for AAA testing.
Package radius implements a mock RADIUS server (RFC 2865) for AAA testing.
rpki
Package rpki implements a deterministic RPKI/RTR mock server for tests.
Package rpki implements a deterministic RPKI/RTR mock server for tests.
rtr
Package rtr implements a mock RTR cache server for RPKI testing.
Package rtr implements a mock RTR cache server for RPKI testing.
tacacs
Package tacacs implements a mock TACACS+ server for AAA testing.
Package tacacs implements a mock TACACS+ server for AAA testing.
Design: docs/architecture/testing/ci-format.md — test BGP peer Detail: message.go — BGP message types, wire helpers, and Message struct Detail: checker.go — message validation against expected patterns Detail: expect.go — .ci file loading and option parsing RFC: rfc/short/rfc4724.md — the Graceful Restart capability a .ci declares here RFC: rfc/short/rfc9494.md — the Long-Lived Graceful Restart stale time RFC: rfc/short/draft-abraitis-idr-addpath-paths-limit.md — the PATHS-LIMIT entry
Design: docs/architecture/testing/ci-format.md — test BGP peer Detail: message.go — BGP message types, wire helpers, and Message struct Detail: checker.go — message validation against expected patterns Detail: expect.go — .ci file loading and option parsing RFC: rfc/short/rfc4724.md — the Graceful Restart capability a .ci declares here RFC: rfc/short/rfc9494.md — the Long-Lived Graceful Restart stale time RFC: rfc/short/draft-abraitis-idr-addpath-paths-limit.md — the PATHS-LIMIT entry
plugins
all
fakeas112
Design: docs/architecture/core-design.md -- in-process test producer for the AS112 redistribute source
Design: docs/architecture/core-design.md -- in-process test producer for the AS112 redistribute source
fakeas112/yang
Package yang provides the YANG schema for the fakeas112 test plugin.
Package yang provides the YANG schema for the fakeas112 test plugin.
fakeddos
Package fakeddos is a test-only plugin that drives the ddos-local responder end-to-end against a REAL nft backend.
Package fakeddos is a test-only plugin that drives the ddos-local responder end-to-end against a REAL nft backend.
fakeddos/yang
Package yang provides the YANG schema for the fakeddos test plugin.
Package yang provides the YANG schema for the fakeddos test plugin.
fakel2tp
Design: docs/architecture/core-design.md -- in-process test producer for L2TP route-change events
Design: docs/architecture/core-design.md -- in-process test producer for L2TP route-change events
fakel2tp/yang
Package yang provides the YANG schema for the fakel2tp test plugin.
Package yang provides the YANG schema for the fakel2tp test plugin.
fakeredist/yang
Package yang provides the YANG schema for the fakeredist test plugin.
Package yang provides the YANG schema for the fakeredist test plugin.
Design: docs/architecture/testing/ci-format.md — test runner framework
Design: docs/architecture/testing/ci-format.md — test runner framework
Package sessionpath answers one question: where do THIS AI session's build and test artifacts go?
Package sessionpath answers one question: where do THIS AI session's build and test artifacts go?
Package sim provides fake implementations of clock and network interfaces for use in unit tests.
Package sim provides fake implementations of clock and network interfaces for use in unit tests.
Design: docs/architecture/testing/ci-format.md — syslog test helpers
Design: docs/architecture/testing/ci-format.md — syslog test helpers
Package templcheck reads the components templ generates and requires every parameter to be a type the compiler checks a field name against.
Package templcheck reads the components templ generates and requires every parameter to be a type the compiler checks a field name against.
Package testcond provides conditional test-skipping helpers.
Package testcond provides conditional test-skipping helpers.
Design: docs/architecture/system-architecture.md — temporary filesystem management
Design: docs/architecture/system-architecture.md — temporary filesystem management
cmd command
Package trace formats per-step functional-test trace output.
Package trace formats per-step functional-test trace output.

Jump to

Keyboard shortcuts

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