Markdown OKF-Schema Studio

Use case StRS-MDOKFSTUDIO-REVIEW-015

A writer keeps a discussion in the Markdown source and answers it from the preview

As a writer, I keep a discussion in the file itself and answer it where I read it, and I never have a thread change collide with the text I am typing.

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: Reply to an inline thread path 2: Delete an inline thread, starts at 2 other outcomeone dot = one scenario checked: nominal boundary refusal
SwRS-MDOKFSTUDIO-REVIEW-167: An inline THREAD comment shows as a thread chip with its messagesSwRS-MDOKFSTUDIO-REVIEW-1675 teststhe renderer writes agreen chip with a label,and the open threadlists one entry for eachmessageSwRS-MDOKFSTUDIO-REVIEW-171: An open inline thread offers Reply and Delete threadSwRS-MDOKFSTUDIO-REVIEW-1712 teststhe reader types in the Reply areaand presses Reply, and the trimmedtext goes to the host with thesource lines of the threadSwRS-MDOKFSTUDIO-REVIEW-186: The host appends a valid reply inside the thread comment under the authorSwRS-MDOKFSTUDIO-REVIEW-1866 teststhe host appends the reply insidethe thread comment under theauthorSwRS-MDOKFSTUDIO-REVIEW-171: An open inline thread offers Reply and Delete threadSwRS-MDOKFSTUDIO-REVIEW-1712 teststhe reader presses Delete thread,which asks no confirmation, andthe delete goes to the hostSwRS-MDOKFSTUDIO-REVIEW-192: Deleting an inline thread removes whole lines, and a malformed delete message changes nothingSwRS-MDOKFSTUDIO-REVIEW-1924 teststhe host removes the lines of thethread and one surrounding blanklineSwRS-MDOKFSTUDIO-REVIEW-171: An open inline thread offers Reply and Delete threadSwRS-MDOKFSTUDIO-REVIEW-1712 teststhe host refuses the changeSwRS-MDOKFSTUDIO-REVIEW-186: The host appends a valid reply inside the thread comment under the authorSwRS-MDOKFSTUDIO-REVIEW-1866 testslines that are not exactly one threadA document holds an inline THREAD commentA document holds aninline THREAD commentThe thread chip is open with its messages (paths 1, 2)The thread chip is openwith its messages2The reply is sent with the lines of the threadThe reply is sent withthe lines of the threadThe reply is in the thread commentThe reply is in thethread commentThe delete is sent with the lines of the threadThe delete is sent withthe lines of the threadThe thread is gone from the documentThe thread is gone fromthe document

This map has 672 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 25 scenarios.

Behaviours of this use case

SwRS-MDOKFSTUDIO-PALETTE-114Thread inserts an empty comment thread after the block with the author and the date not on the map1 testSwRS-MDOKFSTUDIO-REVIEW-167An inline THREAD comment shows as a thread chip with its messages 5 testsSwRS-MDOKFSTUDIO-REVIEW-171An open inline thread offers Reply and Delete thread 2 testsSwRS-MDOKFSTUDIO-REVIEW-186The host appends a valid reply inside the thread comment under the author 6 testsSwRS-MDOKFSTUDIO-REVIEW-192Deleting an inline thread removes whole lines, and a malformed delete message changes nothing 4 tests
SwRS-MDOKFSTUDIO-REVIEW-178An inline thread change message carries valid lines and a non-blank text superseded superseded by SwRS-MDOKFSTUDIO-REVIEW-186, SwRS-MDOKFSTUDIO-REVIEW-192 Markdown file
SwRS-MDOKFSTUDIO-REVIEW-190An empty or too long reply is refused by the host deprecated deprecated Markdown file