Verb fixtures
Verb fixtures sit beside a Verb Function and hold the cases it must pass before its Change merges.
| Property | Value |
|---|---|
| Path | nouns/ |
| Holds | Function |
| Kind | file |
| Leaders | db-first, git-first |
| Team | Quality Team |
| Written by | Change.merge |
| Compiled by | SoftwareBuilder |
Example
nouns/ in a Startup repository. Closewise, a sample business, declares a Close Noun.
import { expect, run, test } from 'startup-builder/ test'
test('a matched month is balanced', async () => {
const { result } = await run({ client: 'cus_1', period: '2026-09' }, { Close: { entries: () => [{ matched: true }] } })
expect(result.balanced).toBe(true)
})Generates
SoftwareBuilder compiles it into these records, Verbs and routes.
| Kind | What |
|---|---|
| Records | Change |
| Verbs | None. |
| Routes | None. |