Markdown OKF-Schema Studio

Behaviour SwRS-MDOKFSTUDIO-CORE-082

The site requirements viewer has a page for each behaviour

When a maintainer builds the Pages site, the viewer SHALL write one page per active SwRS that shows its rule, where it sits in the paths of its use case (naming the use case by its full ID), its scenarios, and the files that implement and test it at the commit of the build.

Step 4 of path 1 in StRS-MDOKFSTUDIO-CORE-008: from “The reviewer reads a behaviour” to “”.

Scenarios 4

The situations the tests check; open one to read it.

nominalBehaviour page
Givenan active SwRS with 2 scenarios, one source file and 2 test files
Whenthe site is built
Thenits page shows the rule, where it sits in the paths ("Step 1 of path 1 in StRS-MDOKFSTUDIO-GFM-001", the full ID of the use case being a link), the scenarios, and the files as links to the repository at the commit of the build, each test file tagged with its kind
boundaryExempt behaviour
Givena SwRS exempt from markers
Whenits page is written
Thenthe page says it is exempt, with the reason, instead of listing files
nominalA table scenario shows its table
Givenan active SwRS whose scenario is written as a table with its own headers
Whenits page is written
Thenthe scenario card shows that table with the same headers and one row per source row, and no empty Given / When / Then columns
boundaryA scenario with steps, a note and a table
Givena scenario with GIVEN / WHEN / THEN lines, a note line and a table
Whenits page is written
Thenthe card shows the steps in their three columns, the note as a paragraph and the table, in source order

Implemented in 2

Tested by 3