Private beta, by invitation. It may change without warning. While the beta lasts, some paid features are free. See pricing

trumlyspec GitHub
Try trumly

Conformance cases /

load-subdirs

Tests loading a project: how files are read and which load errors are reported.

Our implementation passes this case when its check --json output for the input below equals the expected output.

Input

nodes/b.md
---
id: b
type: t
parent: a
---
nodes/sub/deep/a.md
---
id: a
type: t
---

Expected output

0 ghosts · 0 load errors · 2 nodes · 0 results

expected.json
{
 "ghosts": [],
 "load_errors": [],
 "nodes": [
  {
   "body": "",
   "fields": {},
   "id": "a",
   "links": [],
   "parent": null,
   "plane": null,
   "title": "a",
   "type": "t"
  },
  {
   "body": "",
   "fields": {},
   "id": "b",
   "links": [],
   "parent": "a",
   "plane": null,
   "title": "b",
   "type": "t"
  }
 ],
 "results": [],
 "structure": {
  "errors": [],
  "warnings": []
 }
}