Markdown OKF-Schema Studio

Use case StRS-MDOKFSTUDIO-TABLE-002

A table row or column moves by its handle in edit mode

As a writer, I reorder the rows and the columns of a table by dragging a handle, or with the keyboard, without cutting and pasting lines or cells, and one undo puts them back.

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: Move a row path 2: Move a column other outcomeone dot = one scenario checked: nominal boundary refusal
SwRS-MDOKFSTUDIO-TABLE-002: Table row handle reorders body rows in edit modeSwRS-MDOKFSTUDIO-TABLE-0027 teststhe writer drags the handle ontoanother row, or presses Alt+Up orAlt+Down, and the row moves as onesource edit with the header rowskeptSwRS-MDOKFSTUDIO-TABLE-007: Table column handle reorders columns in edit modeSwRS-MDOKFSTUDIO-TABLE-0076 teststhe writer drags the handle ontoanother column, or pressesAlt+Left or Alt+Right, and thecolumn movesSwRS-MDOKFSTUDIO-TABLE-002: Table row handle reorders body rows in edit modeSwRS-MDOKFSTUDIO-TABLE-0027 testsa table or state without a row moveSwRS-MDOKFSTUDIO-TABLE-007: Table column handle reorders columns in edit modeSwRS-MDOKFSTUDIO-TABLE-0076 testsa table or state without a column moveA table is shown in edit mode with a handle beside each body rowA table is shown in editmode with a handlebeside each body rowThe row is at its new positionThe row is at its newpositionA table is shown in edit mode with a handle above each columnA table is shown in editmode with a handle aboveeach columnThe column is at its new positionThe column is at its newposition

This map has 12 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 19 scenarios.

Behaviours of this use case

SwRS-MDOKFSTUDIO-TABLE-002Table row handle reorders body rows in edit mode 7 testsSwRS-MDOKFSTUDIO-TABLE-007Table column handle reorders columns in edit mode 6 tests