require "spec_helper"
RSpec.describe Metanorma::Requirements::Iso::Modspec do
it "treates Modspec requirements as tables for cross-referencing" do
input = <<~INPUT
Identifier
/ogc/recommendation/wfs/2
I recommend this.
This is the object of the recommendation:
Object | Value | Accomplished |
The measurement target shall be measured as:
The following code will be run for verification:
TEST PURPOSE
TEST METHOD
CONDITIONS
FIRST PART
SECOND PART
THIRD PART
REFERENCE PART
PANDA PART
Identifier | /ogc/recommendation/wfs/2 |
Subject | user |
Dependency | /ss/584/2015/level/1 |
Dependency | |
Control-class | Technical |
Priority | P0 |
Family | System and Communications Protection |
Family | System and Communications Protocols |
Statement |
I recommend this . |
Statement |
|
The measurement target shall be measured as: |
|
The following code will be run for verification: |
|
Test purpose |
TEST PURPOSE |
Test method |
TEST METHOD |
Conditions |
CONDITIONS |
A |
FIRST PART |
B |
SECOND PART |
C |
THIRD PART |
Reference |
REFERENCE PART |
Panda GHz express |
PANDA PART |
I recommend this.
This is the object of the recommendation:
Object | Value | Accomplished |
The measurement target shall be measured as:
The following code will be run for verification:
Identifier | /ogc/recommendation/wfs/2 |
Subject | user |
Dependency | /ss/584/2015/level/1 |
Control-class | Technical |
Priority | P0 |
Family | System and Communications Protection |
Family | System and Communications Protocols |
Statement |
I recommend this . |
Statement |
|
The measurement target shall be measured as: |
|
The following code will be run for verification: |
I recommend this.
This is the object of the recommendation:
Object | Value | Accomplished |
The measurement target shall be measured as:
The following code will be run for verification:
Identifier | /ogc/recommendation/wfs/2 |
Subject | user |
Dependency | /ss/584/2015/level/1 |
Control-class | Technical |
Priority | P0 |
Family | System and Communications Protection |
Family | System and Communications Protocols |
Statement |
I recommend this. |
Statement |
|
The measurement target shall be measured as: | |
The following code will be run for verification: |
Identifier | /ogc/recommendation/wfs/2 |
Target type | user |
Dependency | /ss/584/2015/level/1 |
Dependency | /ss/584/2015/level/2 |
Provisions |
|
Identifier | /ogc/recommendation/wfs/10 |
Included in |
|
Identifier | /ogc/recommendation/wfs/2 |
Subject | user |
Requirements class |
|
Dependency | /ss/584/2015/level/1 |
Dependency |
|
Indirect Dependency | |
Indirect Dependency |
|
Provisions |
|
Identifier | ABC |
Identifier | Permission 1 |
Included in |
|
Identifiant | /ogc/recommendation/wfs/2 |
Sujet | user |
Classe d’exigences |
|
Dépendance | /ss/584/2015/level/1 |
Dépendance |
|
Dépendance indirecte | |
Dépendance indirecte |
|
Dispositions |
|
Identifiant | ABC |
Identifiant | Permission 1 |
Inclus dans |
|
Identifier | /ogc/recommendation/wfs/2 |
Target type | user |
Dependency | /ss/584/2015/level/1 |
Dependency | /ss/584/2015/level/2 |
Provisions |
|
Identifier | Permission 1 |
Included in |
|
Identifier | /ogc/recommendation/wfs/2 |
Target type | user |
Dependency | /ss/584/2015/level/1 |
Dependency | /ss/584/2015/level/2 |
Provisions |
|
I recommend this.
This is the object of the recommendation:
Object | Value |
Mission | Accomplished |
As for the measurement targets,
The measurement target shall be measured as:
The following code will be run for verification:
Identifier | /ogc/recommendation/wfs/2 |
Subject | user |
Dependency | /ss/584/2015/level/1 |
Statement |
I recommend this . |
Statement |
As for the measurement targets, |
The measurement target shall be measured as: |
|
The following code will be run for verification: |
I recommend this.
This is the object of the recommendation:
Object | Value |
Mission | Accomplished |
As for the measurement targets,
The measurement target shall be measured as:
The following code will be run for verification:
Identifier | /ogc/recommendation/wfs/2 |
Subject | user |
Dependency | /ss/584/2015/level/1 |
Statement |
I recommend this . |
Statement |
As for the measurement targets, |
The measurement target shall be measured as: |
|
The following code will be run for verification: |