refactor: checks 改造为属性测试骨架 - #3
Merged
Merged
Conversation
test-configs × properties 笛卡尔积 + 三态断言 (skip/check/pass), 断言数从 50 提升到 296, 新增 software 自动覆盖.
luochen1990
force-pushed
the
refactor-property-test2-20260812-0904
branch
from
August 12, 2026 09:14
d34721d to
32d846f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
动机
把 checks 从"示例式测试"改造为"属性测试骨架", 为后续真正的属性测试 (生成器 / 笛卡尔积枚举) 铺路.
改动
三要素分离
3 条属性
三态断言 (skip/check/pass)
区分"前提不满足"与"断言通过", 避免假绿. 断言数从 50 提升到 296 (208 passed + 88 skipped).
其他
software-spec.nix: per-software 规格表 (SSOT: provider key / 注入键), properties forall 遍历的数据源${}被误判为括号)验证
just check全绿: 208 passed, 88 skipped, 0 failed (total 296).后续 PR