package file→ .shtukbase/packages/code-functional-core/judges/core-tests.md
judges/core-tests.md
14 lines, 572 B.
- # Judge: the core is tested without stubs
- Norm FC-R05. Tests of the core call a function with values and compare the result; stubs and substitutions are needed only by tests of the shell.
- **Who judges.** The reviewer of the change.
- **When.** On a change to the core's tests.
- **What the judge looks at.**
- 1. The core's tests do not substitute modules, time, the file system or the network.
- 2. If there is a substitution: which effect it hides and whether that effect can be moved to the shell.
- **Result.** "holds" or "violated: which test, which effect to move out".