Markdown OKF-Schema Studio

Use case StRS-MDOKFSTUDIO-DIAG-006

A writer reads PlantUML diagrams without any setup

As a writer, I get PlantUML pictures right after installing the extension, also in Restricted Mode, and learn why a diagram has no picture and what to change instead of seeing a blank block.

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. Where paths meet, they share the circle or the step.

path 1: Read a PlantUML diagram path 2: Learn why a diagram has no picture, starts at 2 other outcomeone dot = one scenario checked: nominal boundary refusal
SwRS-MDOKFSTUDIO-DIAG-023: PlantUML fences become centred inert pictures drawn by the built-in engineSwRS-MDOKFSTUDIO-DIAG-0235 teststhe built-in engine draws thefence or directive as one inertcentred pictureSwRS-MDOKFSTUDIO-DIAG-032: The built-in engine refuses what needs a URL, a library or more than 1 MiBSwRS-MDOKFSTUDIO-DIAG-0323 teststhe built-in engine fails orrefuses a library, a URL or toolong a source and shows onemessage that says whySwRS-MDOKFSTUDIO-DIAG-023: PlantUML fences become centred inert pictures drawn by the built-in engineSwRS-MDOKFSTUDIO-DIAG-0235 teststhe text is kept as writtenSwRS-MDOKFSTUDIO-DIAG-039: Built-in pictures are kept by source and drawn one at a timeSwRS-MDOKFSTUDIO-DIAG-0393 testsa content patch draws only the new diagramsSwRS-MDOKFSTUDIO-DIAG-032: The built-in engine refuses what needs a URL, a library or more than 1 MiBSwRS-MDOKFSTUDIO-DIAG-0323 testsa source over 1 MiBThe document holds a PlantUML diagram (paths 1, 2)The document holds aPlantUML diagram2The diagram is drawn as a picture in the light or dark variant of the previewThe diagram is drawn asa picture in the lightor dark variant of thepreviewA message says why there is no pictureA message says why thereis no picture

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

Behaviours of this use case

SwRS-MDOKFSTUDIO-DIAG-023PlantUML fences become centred inert pictures drawn by the built-in engine 5 testsSwRS-MDOKFSTUDIO-DIAG-024The useJar and jarPath settings choose the PlantUML engine not on the map8 testsSwRS-MDOKFSTUDIO-DIAG-032The built-in engine refuses what needs a URL, a library or more than 1 MiB 3 testsSwRS-MDOKFSTUDIO-DIAG-039Built-in pictures are kept by source and drawn one at a time 3 testsSwRS-MDOKFSTUDIO-DIAG-053Served include files are watched and redraw their diagrams not on the map4 tests
SwRS-MDOKFSTUDIO-DIAG-019Comment quotes are never wrapped inside diagrams superseded superseded by SwRS-MDOKFSTUDIO-REVIEW-017 Markdown file
SwRS-MDOKFSTUDIO-DIAG-020Selecting text inside a diagram offers no comment superseded superseded by SwRS-MDOKFSTUDIO-REVIEW-038 Markdown file
SwRS-MDOKFSTUDIO-DIAG-022A diagram under edit is hidden superseded superseded by SwRS-MDOKFSTUDIO-DIAG-001 Markdown file
SwRS-MDOKFSTUDIO-DIAG-026The built-in engine starts no process superseded superseded by SwRS-MDOKFSTUDIO-DIAG-024 Markdown file
SwRS-MDOKFSTUDIO-DIAG-028The built-in PlantUML script loads only when needed superseded superseded by SwRS-MDOKFSTUDIO-DIAG-023 Markdown file
SwRS-MDOKFSTUDIO-DIAG-029Built-in PlantUML diagrams are drawn as inert pictures superseded superseded by SwRS-MDOKFSTUDIO-DIAG-023 Markdown file
SwRS-MDOKFSTUDIO-DIAG-030Built-in diagrams follow the light or dark preview superseded superseded by SwRS-MDOKFSTUDIO-DIAG-023 Markdown file
SwRS-MDOKFSTUDIO-DIAG-031The built-in engine needs nothing outside the extension superseded superseded by SwRS-MDOKFSTUDIO-DIAG-024 Markdown file
SwRS-MDOKFSTUDIO-DIAG-033The library loaders of the built-in engine refuse every request superseded superseded by SwRS-MDOKFSTUDIO-DIAG-032 Markdown file
SwRS-MDOKFSTUDIO-DIAG-034The file loader refuses local files without a render or a host superseded superseded by SwRS-MDOKFSTUDIO-DIAG-032 Markdown file
SwRS-MDOKFSTUDIO-DIAG-035A theme read from a folder is refused superseded superseded by SwRS-MDOKFSTUDIO-DIAG-032 Markdown file
SwRS-MDOKFSTUDIO-DIAG-036Unsupported directives inside included files name the file superseded superseded by SwRS-MDOKFSTUDIO-DIAG-032 Markdown file
SwRS-MDOKFSTUDIO-DIAG-037A built-in engine failure shows its reason superseded superseded by SwRS-MDOKFSTUDIO-DIAG-032 Markdown file
SwRS-MDOKFSTUDIO-DIAG-038The built-in engine refuses a source over 1 MiB superseded superseded by SwRS-MDOKFSTUDIO-DIAG-032 Markdown file
SwRS-MDOKFSTUDIO-DIAG-040The built-in result cache keeps 64 results deprecated deprecated Markdown file
SwRS-MDOKFSTUDIO-DIAG-041Results with refused includes are not kept superseded superseded by SwRS-MDOKFSTUDIO-DIAG-039 Markdown file
SwRS-MDOKFSTUDIO-DIAG-042The built-in engine draws one diagram at a time superseded superseded by SwRS-MDOKFSTUDIO-DIAG-039 Markdown file
SwRS-MDOKFSTUDIO-DIAG-043A superseded built-in render does not overwrite a newer one superseded superseded by SwRS-MDOKFSTUDIO-DIAG-039 Markdown file
SwRS-MDOKFSTUDIO-DIAG-044A content patch draws only new built-in diagrams superseded superseded by SwRS-MDOKFSTUDIO-DIAG-039 Markdown file
SwRS-MDOKFSTUDIO-DIAG-045A changed included file redraws the diagrams that read files superseded superseded by SwRS-MDOKFSTUDIO-DIAG-053 Markdown file
SwRS-MDOKFSTUDIO-DIAG-079The built-in engine is pinned to an exact version superseded superseded by SwRS-MDOKFSTUDIO-TRUST-075 Markdown file
SwRS-MDOKFSTUDIO-DIAG-080The built-in engine bundle and licence are packaged superseded superseded by SwRS-MDOKFSTUDIO-TRUST-074 Markdown file
SwRS-MDOKFSTUDIO-DIAG-081PlantUML pictures are contained in the content width superseded superseded by SwRS-MDOKFSTUDIO-DIAG-023 Markdown file
SwRS-MDOKFSTUDIO-DIAG-082PlantUML messages use the error style superseded superseded by SwRS-MDOKFSTUDIO-DIAG-032 Markdown file
SwRS-MDOKFSTUDIO-DIAG-083The PlantUML source disclosure is styled like Mermaid's superseded superseded by SwRS-MDOKFSTUDIO-DIAG-023 Markdown file
SwRS-MDOKFSTUDIO-DIAG-112Unsupported directives never reach the engine or the host superseded superseded by SwRS-MDOKFSTUDIO-DIAG-032 Markdown file
SwRS-MDOKFSTUDIO-DIAG-115A theme switch between light and dark redraws built-in diagrams superseded superseded by SwRS-MDOKFSTUDIO-DIAG-023 Markdown file
SwRS-MDOKFSTUDIO-DIAG-119PlantUML pictures are centred superseded superseded by SwRS-MDOKFSTUDIO-DIAG-023 Markdown file