Markdown OKF-Schema Studio

Use case StRS-MDOKFSTUDIO-MYST-005

Constructs the preview cannot build stay visible and labelled

As a writer, I want to know which constructs need a full project build so that I do not mistake a placeholder for a result.

Use case diagram

How it is split

This use case (StRS) is reached by 2 paths, one per coloured line. A path goes from one situation (circle) to the next; each step (pill) is a behaviour (SwRS) with its own tests.

path 1: A construct only a build resolves path 2: A fence the parser cannot build other outcomeone dot = one scenario checked: nominal boundary refusal
SwRS-MDOKFSTUDIO-CORE-022: Build-dependent constructs show an inert placeholder with a warningSwRS-MDOKFSTUDIO-CORE-0226 teststhe page renders an inert, mutedplaceholder with its name,arguments and body, and lists awarning for a directiveSwRS-MDOKFSTUDIO-MYST-096: A directive the parser cannot build shows its source and the render continuesSwRS-MDOKFSTUDIO-MYST-0964 teststhe page renders its raw sourcelines as a code block and rendersthe rest of the documentSwRS-MDOKFSTUDIO-CORE-022: Build-dependent constructs show an inert placeholder with a warningSwRS-MDOKFSTUDIO-CORE-0226 testsa citationSwRS-MDOKFSTUDIO-MYST-096: A directive the parser cannot build shows its source and the render continuesSwRS-MDOKFSTUDIO-MYST-0964 testslabels and includes are not touchedA document holds a construct that only a full project build can resolveA document holds aconstruct that only afull project build canresolveA muted placeholder is drawn and the render stays successfulA muted placeholder isdrawn and the renderstays successfulA document holds a directive or fence the parser cannot buildA document holds adirective or fence theparser cannot buildThe raw source is shown as code and the rest of the document is drawnThe raw source is shownas code and the rest ofthe document is drawn

Path 1: A construct only a build resolves

  1. A document holds a construct that only a full project build can resolveSwRS-MDOKFSTUDIO-CORE-022 a citationSwRS-MDOKFSTUDIO-CORE-022 · 6 tests the page renders an inert, muted placeholder with its name, arguments and body, and lists a warning for a directive
  2. A muted placeholder is drawn and the render stays successful

Path 2: A fence the parser cannot build

  1. A document holds a directive or fence the parser cannot buildSwRS-MDOKFSTUDIO-MYST-096 labels and includes are not touchedSwRS-MDOKFSTUDIO-MYST-096 · 4 tests the page renders its raw source lines as a code block and renders the rest of the document
  2. The raw source is shown as code and the rest of the document is drawn

This map has 8 different ways through it in 8 steps or fewer. Instead of testing each one end to end, the 2 behaviours on the map are tested one by one, with 11 scenarios.

Behaviours of this use case

SwRS-MDOKFSTUDIO-CORE-022Build-dependent constructs show an inert placeholder with a warning 6 testsSwRS-MDOKFSTUDIO-MYST-096A directive the parser cannot build shows its source and the render continues 4 tests
SwRS-MDOKFSTUDIO-CORE-023List a warning for an unavailable directive superseded superseded by SwRS-MDOKFSTUDIO-CORE-022 Markdown file
SwRS-MDOKFSTUDIO-CORE-036Style placeholders as inert superseded superseded by SwRS-MDOKFSTUDIO-CORE-022 Markdown file
SwRS-MDOKFSTUDIO-CORE-047Show a citation as an unresolved placeholder superseded superseded by SwRS-MDOKFSTUDIO-CORE-022 Markdown file
SwRS-MDOKFSTUDIO-CORE-060Keep references to captionless targets readable superseded superseded by SwRS-MDOKFSTUDIO-MYST-019 Markdown file
SwRS-MDOKFSTUDIO-MYST-020Unresolved citations show as muted keys superseded superseded by SwRS-MDOKFSTUDIO-CORE-022 Markdown file
SwRS-MDOKFSTUDIO-MYST-021Directives needing a build show an inert placeholder with a warning superseded superseded by SwRS-MDOKFSTUDIO-CORE-022 Markdown file
SwRS-MDOKFSTUDIO-MYST-022The bibliography directive explains build-time resolution superseded superseded by SwRS-MDOKFSTUDIO-CORE-022 Markdown file
SwRS-MDOKFSTUDIO-MYST-023Notebook output references show a note and a warning superseded superseded by SwRS-MDOKFSTUDIO-CORE-022 Markdown file