boardtest

package
v0.31.0 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package boardtest @@Board@@ 的**共享契约测试套件**。

宿主写完存储实现后跑一遍:违反哪条契约就红在哪一条,免得「各判一套、 漂移到没人发现为止」(与 @sidetest@ 同一范式)。

硬失败不静默跳过

显式接入套件 = 声明要满足契约。跳过等于把「没测过」伪装成「通过了」。

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(t *testing.T, newBoard func(t *testing.T) taskboard.Board)

Run 跑整套契约判据。newBoard 每次返回一个**干净的**存储(每条例句独立)。

Types

This section is empty.

Jump to

Keyboard shortcuts

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