generate-test-data
Installation
SKILL.md
nanook.xhub: Generate test data from an existing table
Takes a workbook with Nanook decision tables that already exists, hand-made, from an older
Nanook version or from the create-equivalence-class-table skill, and turns it into one JSON
fixture per test case that tests can read. Nanook does not throw on a failed generator or an
unresolved reference, it logs and carries on, so every step here ends with a check.
Environment and bundled scripts
- Project with
@xhubio/nanook-table(3.1.0 or later, ESM). Noexceljsneeded. - Node.js 22.18 or later runs
.ts/.mtsdirectly; older 22.x need--experimental-strip-types,npx tsxworks everywhere. - Default locations:
resources/<name>-tests.xlsx,fixtures/<name>/, own generators inscripts/generators/. If the user names other folders, use theirs. - Output language: write comments, messages and test names in the language of the user's request, not in the language of these instructions.