Finlay.worksBareBones Validation manual

BareBones Validation reads four kinds of file or text that you prepare outside it. This page gives the layout of each.

Sample files

The samples are the files of a small made-up product, Sample Timesheet: nine requirements, three trace rows and a protocol of two scripts.

Use them to try the steps of Use on a test product, or as a starting layout for your own files.

Requirement documents

Step 3 of the map brings in three documents: business requirements (BRS), user requirements (URS) and functional requirements (FRS). Each is a plain text file. Markdown is plain text and is what the samples use.

A requirement is a line that starts with its identifier and a colon:

BRS-001: The product shall let employees record the hours they work each day.

URS-002: An employee shall be able to enter hours for a day and save them.

FRS-002.1: The system shall save an entry of hours with its date, the employee and the time it was saved.
  • The identifier is the family (BRS, URS or FRS), a hyphen and a number. A functional requirement is numbered under a parent, as in FRS-002.1.
  • Headings and other text are allowed. Only lines that start with an identifier and a colon are read as requirements.
  • If a requirement's text runs over several lines, select Each requirement's text continues on the lines below its ID on the form.
  • Use an identifier once. The preview shows every requirement read, and reports an identifier that appears twice with different text, before anything is saved.

The trace register

The trace register is the fourth document on the form. The form calls it Regulatory register document and marks it optional. A protocol written in the product needs it.

It is a table. Each row has an identifier that starts with RR- and ties one business requirement to the user and functional requirements that deliver it:

Row Business User Functional
RR-001 BRS-001 URS-001 FRS-001.1
RR-002 BRS-001 URS-002 FRS-002.1; FRS-002.2

The document is a plain text file, like the other three. In the file, type the table with a vertical bar between the cells, one row per line, and a line of dashes under the heading row:

| Row | Business | User | Functional |
| --- | --- | --- | --- |
| RR-001 | BRS-001 | URS-001 | FRS-001.1 |
| RR-002 | BRS-001 | URS-002 | FRS-002.1; FRS-002.2 |

RR.md in the sample files is a complete register to copy from.

  • Separate several identifiers in one cell with a semicolon.
  • Every requirement a script cites must be in a row, and the script cites the row's RR- identifier as well.
  • A register written as a list (RR-001: text) is read as requirements, not as rows. A protocol draft then reports that the rows it cites are not available. Use the table.

The protocol CSV

Import protocol CSV on a draft's Scripts page reads a comma-separated file with one row per test script. Download saved CSV and Download protocol CSV write the same layout. A spreadsheet program can open and save it; save as CSV in UTF-8.

The first row is the column names, exactly as below. Keep every column, also the ones you leave empty. A script has at most four steps; a test that needs more is two scripts.

Column What to enter
Test_Case_ID The script's identifier: the qualification, your product code and a number, for example OQ-STS-001.
Requirement_IDs Every requirement and trace row the script checks, separated by semicolons: BRS-001; URS-002; FRS-002.1; RR-002.
Spec The requirement level the script is written against: FRS, URS or BRS.
Qualification IQ, OQ or PQ.
Objective What the script confirms, in one sentence.
Expected_Result What must be seen for the script to pass.
Criticality High, Medium or Low.
Environment Where the script runs, for example Linux.
Build_Version Leave empty. The release candidate carries the version.
Step_1_Procedure to Step_4_Procedure What the person does in the step. An empty cell ends the script's steps.
Step_1_Expected_Result to Step_4_Expected_Result What the person must see for the step to pass.
Step_1_Evidence_Required to Step_4_Evidence_Required yes or no. Empty means yes.
Step_1_Requirement_IDs to Step_4_Requirement_IDs The requirements this step checks, separated by semicolons.
Step_1_Verification_Kind to Step_4_Verification_Kind Optional columns. standard, or negative-verification for a step that proves something is refused or left unchanged. If you add the column for a step, fill it in for every script that has that step.

Rules the import checks:

  • Put a cell that contains a comma or a quotation mark inside quotation marks, and write a quotation mark inside it twice. A spreadsheet program does this when it saves.
  • Every row has the same number of cells as the first row.
  • A column name appears once.

If anything is wrong, nothing is saved. The page lists each problem with its row and column.

Rows of reasons

Step 12 of the map has Record many reasons at once, as rows of text. It takes comma-separated rows typed or pasted into the box, under this first line:

requirementId,class,rationale,evidenceScript,evidenceStep,evidenceQuote,sourceRef

One row per requirement. class is the stored name of the kind of reason; the help under the box lists the name of each kind. evidenceScript, evidenceStep and evidenceQuote are for a reason that rests on a script. sourceRef is for a reason that rests on an earlier package. Leave the others empty.