Markdown OKF-Schema Studio

Use case StRS-MDOKFSTUDIO-GFM-005

A writer or reviewer decides between the options of a plan with one click

As a reviewer of an agent's plan, I pick one of the '( )'/'(x)' options in the preview and at most two source lines change in one undo step; on GitHub the text stays readable.

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: Choose a radio option other outcomeone dot = one scenario checked: nominal boundary refusal
SwRS-MDOKFSTUDIO-GFM-040: A radio choice list renders as a radio groupSwRS-MDOKFSTUDIO-GFM-0404 teststhe page renders them as one radiogroupSwRS-MDOKFSTUDIO-GFM-041: Choosing an option moves the (x)SwRS-MDOKFSTUDIO-GFM-0416 testsa click on an unselected optionwrites '(x)' on it and '( )' onthe previous one, as one undo stepSwRS-MDOKFSTUDIO-GFM-040: A radio choice list renders as a radio groupSwRS-MDOKFSTUDIO-GFM-0404 testsonly consecutive itemsform a groupSwRS-MDOKFSTUDIO-GFM-041: Choosing an option moves the (x)SwRS-MDOKFSTUDIO-GFM-0416 testsan open editor or a refused choice writes nothingA list holds consecutive items that start with '( )' or '(x)'A list holds consecutiveitems that start with '()' or '(x)'The items are shown as a radio groupThe items are shown as aradio groupThe chosen option is selectedThe chosen option isselected

This map has 17 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 6 scenarios.

Behaviours of this use case

SwRS-MDOKFSTUDIO-GFM-040A radio choice list renders as a radio group 4 testsSwRS-MDOKFSTUDIO-GFM-041Choosing an option moves the (x) 6 tests