capec
Theme
Text size
GitHub Menu

Regenerate and test

Playbook how-to playbooks/regenerate-and-test

Checked by automation only

still a draft

Written 2026-11-06 by ktl-librarian (automation). Last checked 2026-11-04 by ktl-librarian (automation).

The full record
Checks
  • 2026-11-04 by ktl-librarian (automation)
Sources
References
Pointed to by
Graph
Open this concept in the knowledge graph
IRI
https://w3id.org/lmodel/capec/knowledge/playbooks/regenerate-and-test
Licence
CC BY 4.0
Files
Markdown JSON-LD Source on GitHub History on GitHub
  1. Edit a file in src/capec/schema/.1
  2. Run just lint. A warning fails it.2
  3. Run just gen-project and just gen-doc, then just lokf-adapt.1
  4. Run just test, which generates into tmp/, runs pytest and runs the example runner.3
  5. Commit the output. project/, src/capec/datamodel/, docs/schema/ and .lokf/schema/capec.yaml are generated.1

  1. CONTRIBUTING.md, Before opening a pull request ↩︎ ↩︎ ↩︎

  2. .github/workflows/main.yaml, the lint step ↩︎

  3. justfile, the test recipe ↩︎