Use case StRS-MDOKFSTUDIO-TABLE-008
A table bar locates the writer and edits rows and columns
As a writer, I see the table actions with text labels above the table and I always know which header or row and which column I am in; I add or delete a row or a column with one button and keep typing where I was; and I scroll down a long table while editing with the row and column buttons within reach.
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: Add a row below the selected one path 2: Delete a row, starts at 2 other outcomeone dot = one scenario checked: nominal boundary refusal
Path 1: Add a row below the selected one
- A table is shown in edit modeSwRS-MDOKFSTUDIO-TABLE-001 · 8 tests the writer clicks a cell and the cell editor opens
- The cell editor is openSwRS-MDOKFSTUDIO-TABLE-064 the bar rides down with a tall table and stays visibleSwRS-MDOKFSTUDIO-TABLE-048 · 6 tests a toolbar named Table row and column actions is created directly above the table and tells the position of the selected cell
- The table bar is shown above the tableSwRS-MDOKFSTUDIO-TABLE-055 Row above inserts an empty row above a body rowSwRS-MDOKFSTUDIO-TABLE-055 Row above on the header rowSwRS-MDOKFSTUDIO-TABLE-055 Col left inserts an empty column to the leftSwRS-MDOKFSTUDIO-TABLE-055 the buttons also edit a plain list-tableSwRS-MDOKFSTUDIO-TABLE-055 disabled buttons and model refusalsSwRS-MDOKFSTUDIO-TABLE-055 · 3 tests the writer presses Row below and an empty row is inserted after the selected one
- An empty row is next to the selected one
Path 2: Delete a row
- The table bar is shown above the tableSwRS-MDOKFSTUDIO-TABLE-055 · 3 tests the writer presses Row − and the selected row is deleted
- The selected row is gone
This map has 3,762 different ways through it in 8 steps or fewer. Instead of testing each one end to end, the 4 behaviours on the map are tested one by one, with 39 scenarios.
Behaviours of this use case
SwRS-MDOKFSTUDIO-TABLE-001A click on a pipe table cell opens a cell editor in place 8 testsSwRS-MDOKFSTUDIO-TABLE-048A labelled table bar above the table tells the position and holds the buttons 6 testsSwRS-MDOKFSTUDIO-TABLE-055Row and column buttons add and remove rows and columns 3 testsSwRS-MDOKFSTUDIO-TABLE-064The table bar rides down with a tall table and stays visible 7 tests
SwRS-MDOKFSTUDIO-TABLE-003Row above inserts an empty row above the selected body row superseded superseded by SwRS-MDOKFSTUDIO-TABLE-055 Markdown file
SwRS-MDOKFSTUDIO-TABLE-004Col left inserts an empty column to the left of the selected column superseded superseded by SwRS-MDOKFSTUDIO-TABLE-055 Markdown file
SwRS-MDOKFSTUDIO-TABLE-005The row and column buttons also edit a plain list-table superseded superseded by SwRS-MDOKFSTUDIO-TABLE-055 Markdown file
SwRS-MDOKFSTUDIO-TABLE-118A table cell editor that opens late leaves the focus in a field that took it superseded superseded by SwRS-MDOKFSTUDIO-BLOCK-255 Markdown file