Markdown OKF-Schema Studio

Use case StRS-MDOKFSTUDIO-TABLE-014

A table edit changes only the lines it touches

As a reviewer, I see a one-line diff for a one-cell edit, and the table's layout in the source is the one the author wrote.

Use case diagram

How it is split

This use case (StRS) is reached by one path (the 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: Save a cell edit other outcomeone dot = one scenario checked: nominal boundary refusal
SwRS-MDOKFSTUDIO-TABLE-094: Editing one cell changes exactly one line of the sourceSwRS-MDOKFSTUDIO-TABLE-0944 teststhe writer edits one cell and onlythe line of that cell changes inthe sourceSwRS-MDOKFSTUDIO-TABLE-094: Editing one cell changes exactly one line of the sourceSwRS-MDOKFSTUDIO-TABLE-0944 testsan unchanged table gives back the original textSwRS-MDOKFSTUDIO-BLOCK-234: Preview edits keep the line endings of the documentSwRS-MDOKFSTUDIO-BLOCK-23411 teststhe line endings of the document are keptA cell editor is open in a pipe tableA cell editor is open ina pipe tableOnly the line of the cell is changedOnly the line of thecell is changed

This map has 24 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 20 scenarios.

Behaviours of this use case

SwRS-MDOKFSTUDIO-TABLE-094Editing one cell changes exactly one line of the source 4 tests