Skip to content

Commit 014f331

Browse files
committed
trace: add missing traces between L2, source code and tests (focus on tests - part 2)
1 parent 2bef88f commit 014f331

File tree

219 files changed

+610
-7
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

219 files changed

+610
-7
lines changed

.github/workflows/end2end-tests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
#
2+
# @relation(SDOC-SRS-46, scope=file)
3+
#
4+
15
name: "StrictDoc - End-to-end tests"
26

37
on:

docs/strictdoc_21_L2_StrictDoc_Requirements.sdoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -853,9 +853,9 @@ RELATIONS:
853853
MID: 13968ae160744e10ba8979eaee2f4f54
854854
UID: SDOC-SRS-55
855855
STATUS: Active
856-
TITLE: Edit requirement nodes
856+
TITLE: Update node
857857
STATEMENT: >>>
858-
StrictDoc's Document screen shall allow editing requirements.
858+
StrictDoc's Document screen shall allow update document content.
859859
<<<
860860
RELATIONS:
861861
- TYPE: Parent

strictdoc/backend/sdoc/models/document_grammar.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
"""
2+
@relation(SDOC-SRS-19, scope=file)
3+
"""
4+
15
from typing import Dict, List, Optional, Set
26

37
from strictdoc.backend.sdoc.models.grammar_element import (

strictdoc/commands/diff_command.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
"""
2+
@relation(SDOC-SRS-111, scope=file)
3+
"""
4+
15
import os
26
from copy import deepcopy
37
from datetime import datetime

strictdoc/core/graph_database.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
"""
2+
@relation(SDOC-SRS-28, scope=file)
3+
"""
4+
15
from typing import Any, Dict, Hashable, List, Optional, Tuple
26

37
from strictdoc.core.graph.abstract_bucket import AbstractBucket

strictdoc/core/query_engine/grammar.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
"""
2+
@relation(SDOC-SRS-155, scope=file)
3+
"""
4+
15
QUERY_GRAMMAR = r"""
26
Query:
37
root_expression = BooleanExpression

strictdoc/core/query_engine/query_object.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
"""
2+
@relation(SDOC-SRS-155, scope=file)
3+
"""
4+
15
from typing import Any, List, Optional
26

37
from strictdoc.backend.sdoc.models.document import SDocDocument

strictdoc/core/query_engine/query_reader.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
"""
2+
@relation(SDOC-SRS-155, scope=file)
3+
"""
4+
15
from typing import Callable, Dict, Optional, Tuple
26

37
from textx import metamodel_from_str

strictdoc/core/statistics/metric.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
"""
2+
@relation(SDOC-SRS-97, scope=file)
3+
"""
4+
15
from dataclasses import dataclass
26
from typing import List, Optional
37

strictdoc/core/transforms/update_document_config.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
"""
2+
@relation(SDOC-SRS-57, scope=file)
3+
"""
4+
15
from collections import defaultdict
26
from typing import Dict, List, Optional
37

0 commit comments

Comments
 (0)