Component

Introdction

<Here we give a short introdction to Example comp (C_EXAMPLE).>

Requirements

Architecture Element

Reports

Table of sw_req within in this file

ID

Title

Status

Type

Outgoing

Tags

SWRQ_EMBEDDED_CHILD_EXAMPLE_SW_REQUIREMENT

Embedded Child Example Software Requirement

sw_req

SWRQ_EMBEDDED_PARENT_EXAMPLE_SW_REQUIREMENT

Embedded Parent Example Software Requirement

sw_req

SWRQ_EXAMPLE_2_SW_REQUIREMENT

Secound Example Software Requirement

sw_req

→ SWRQ_EXAMPLE_2_SW_REQUIREMENT.needpart

→  example text

sw_req

SWRQ_EXAMPLE_SW_REQUIREMENT

Example Software Requirement

sw_req

Table of elements within this prefix area

ID

Title

Status

Type

Outgoing

Tags

C_EXAMPLE

Example comp

comp

imp_test_item

Test Item

implemented

comp

artifact; imported

LIB_EXAMPLE

Example lib

lib

SWRQ_EMBEDDED_CHILD_EXAMPLE_SW_REQUIREMENT

Embedded Child Example Software Requirement

sw_req

SWRQ_EMBEDDED_PARENT_EXAMPLE_SW_REQUIREMENT

Embedded Parent Example Software Requirement

sw_req

SWRQ_EXAMPLE_2_SW_REQUIREMENT

Secound Example Software Requirement

sw_req

→ SWRQ_EXAMPLE_2_SW_REQUIREMENT.needpart

→  example text

sw_req

SWRQ_EXAMPLE_SW_REQUIREMENT

Example Software Requirement

sw_req

SYSRQ_EXAMPLE_SYS_REQUIREMENT

Example System Requirement

sys_req

TF_EXAMPLE

Example for Test Results

testfile

TF_EXAMPLE_0EA

pytest

testsuite

TF_EXAMPLE_0EA_04394

test_merge_dictionaries

testcase

TF_EXAMPLE_0EA_3D185

test_merge_dictionaries_latest_defined_value_in

testcase

TF_EXAMPLE_0EA_43FAD

test_merge_dictionaries_no_dict_exception

testcase

TF_EXAMPLE_0EA_9945A

test_merge_many_dictionaries

testcase

TF_EXAMPLE_0EA_B3CC7

test_merge_dictionaries_double_defined_content

testcase

TF_EXAMPLE_0EA_DA25A

test_merge_dictionaries_different_content

testcase

TF_EXAMPLE_0EA_F94B1

test_merge_dictionaries_no_parameter

testcase

TF_EXAMPLE_0EA_FE169

test_merge_empty_dictionaries

testcase

List of elements within this prefix area:

We cannot use c.this_doc() in needpie and needbar, see https://github.com/useblocks/sphinx-needs/issues/1449.

../../_images/need_pie_f94cf.svg

@startuml

' Nodes definition 

artifact "<size:12>System Requirement</size>\n**Example System**\n**Requirement**\n<size:10>SYSRQ_EXAMPLE_SYS_REQUIREMENT</size>" as SYSRQ_EXAMPLE_SYS_REQUIREMENT [[../system/index.html#SYSRQ_EXAMPLE_SYS_REQUIREMENT]] #abcdef
rectangle "<size:12>Library </size>\n**Example lib**\n<size:10>LIB_EXAMPLE</size>" as LIB_EXAMPLE [[../system/index.html#LIB_EXAMPLE]] #abcdef
artifact "<size:12>Software Requirement</size>\n**Example**\n**Software**\n**Requirement**\n<size:10>SWRQ_EXAMPLE_SW_REQUIREMENT</size>" as SWRQ_EXAMPLE_SW_REQUIREMENT [[../components/original/index.html#SWRQ_EXAMPLE_SW_REQUIREMENT]] #abcdef
artifact "<size:12>Software Requirement</size>\n**Secound Example**\n**Software**\n**Requirement**\n<size:10>SWRQ_EXAMPLE_2_SW_REQUIREMENT</size>" as SWRQ_EXAMPLE_2_SW_REQUIREMENT [[../components/original/index.html#SWRQ_EXAMPLE_2_SW_REQUIREMENT]] #abcdef{
'parts:
rectangle "<size:12>Software Requirement (part)</size>\n** example text**\n<size:10>SWRQ_EXAMPLE_2_SW_REQUIREMENT.**needpart**</size>" as SWRQ_EXAMPLE_2_SW_REQUIREMENT.needpart [[../components/original/index.html#SWRQ_EXAMPLE_2_SW_REQUIREMENT.needpart]] #abcdef
}
artifact "<size:12>Software Requirement</size>\n**Embedded Parent**\n**Example**\n**Software**\n**Requirement**\n<size:10>SWRQ_EMBEDDED_PARENT_EXAMPLE_SW_REQUIREMENT</size>" as SWRQ_EMBEDDED_PARENT_EXAMPLE_SW_REQUIREMENT [[../components/original/index.html#SWRQ_EMBEDDED_PARENT_EXAMPLE_SW_REQUIREMENT]] #abcdef{
'child needs:
artifact "<size:12>Software Requirement</size>\n**Embedded Child**\n**Example**\n**Software**\n**Requirement**\n<size:10>SWRQ_EMBEDDED_CHILD_EXAMPLE_SW_REQUIREMENT</size>" as SWRQ_EMBEDDED_CHILD_EXAMPLE_SW_REQUIREMENT [[../components/original/index.html#SWRQ_EMBEDDED_CHILD_EXAMPLE_SW_REQUIREMENT]] #abcdef
}
component "<size:12>Component</size>\n**Example comp**\n<size:10>C_EXAMPLE</size>" as C_EXAMPLE [[../components/original/index.html#C_EXAMPLE]] #abcdef
component "<size:12>Component</size>\n**Test Item**\n<size:10>imp_test_item</size>" as imp_test_item [[../components/original/index.html#imp_test_item]] #abcdef
node "<size:12>Test-File</size>\n**Example for**\n**Test Results**\n<size:10>TF_EXAMPLE</size>" as TF_EXAMPLE [[../components/original/index.html#TF_EXAMPLE]] #ffffff
folder "<size:12>Test-Suite</size>\n**pytest**\n<size:10>TF_EXAMPLE_0EA</size>" as TF_EXAMPLE_0EA [[../components/original/index.html#TF_EXAMPLE_0EA]] #cccccc
rectangle "<size:12>Test-Case</size>\n**test_merge_dict**\n**ionaries**\n<size:10>TF_EXAMPLE_0EA_04394</size>" as TF_EXAMPLE_0EA_04394 [[../components/original/index.html#TF_EXAMPLE_0EA_04394]] #999999
rectangle "<size:12>Test-Case</size>\n**test_merge_dict**\n**ionaries_differ**\n**ent_content**\n<size:10>TF_EXAMPLE_0EA_DA25A</size>" as TF_EXAMPLE_0EA_DA25A [[../components/original/index.html#TF_EXAMPLE_0EA_DA25A]] #999999
rectangle "<size:12>Test-Case</size>\n**test_merge_dict**\n**ionaries_double**\n**_defined_conten**\n**t**\n<size:10>TF_EXAMPLE_0EA_B3CC7</size>" as TF_EXAMPLE_0EA_B3CC7 [[../components/original/index.html#TF_EXAMPLE_0EA_B3CC7]] #999999
rectangle "<size:12>Test-Case</size>\n**test_merge_dict**\n**ionaries_no_dic**\n**t_exception**\n<size:10>TF_EXAMPLE_0EA_43FAD</size>" as TF_EXAMPLE_0EA_43FAD [[../components/original/index.html#TF_EXAMPLE_0EA_43FAD]] #999999
rectangle "<size:12>Test-Case</size>\n**test_merge_empt**\n**y_dictionaries**\n<size:10>TF_EXAMPLE_0EA_FE169</size>" as TF_EXAMPLE_0EA_FE169 [[../components/original/index.html#TF_EXAMPLE_0EA_FE169]] #999999
rectangle "<size:12>Test-Case</size>\n**test_merge_dict**\n**ionaries_no_par**\n**ameter**\n<size:10>TF_EXAMPLE_0EA_F94B1</size>" as TF_EXAMPLE_0EA_F94B1 [[../components/original/index.html#TF_EXAMPLE_0EA_F94B1]] #999999
rectangle "<size:12>Test-Case</size>\n**test_merge_dict**\n**ionaries_latest**\n**_defined_value_**\n**in**\n<size:10>TF_EXAMPLE_0EA_3D185</size>" as TF_EXAMPLE_0EA_3D185 [[../components/original/index.html#TF_EXAMPLE_0EA_3D185]] #999999
rectangle "<size:12>Test-Case</size>\n**test_merge_many**\n**_dictionaries**\n<size:10>TF_EXAMPLE_0EA_9945A</size>" as TF_EXAMPLE_0EA_9945A [[../components/original/index.html#TF_EXAMPLE_0EA_9945A]] #999999

' Connection definition 

LIB_EXAMPLE -up-> SYSRQ_EXAMPLE_SYS_REQUIREMENT
SWRQ_EXAMPLE_SW_REQUIREMENT -[#000000]-^ SYSRQ_EXAMPLE_SYS_REQUIREMENT
C_EXAMPLE -[#000000]-> LIB_EXAMPLE
C_EXAMPLE -up-> SWRQ_EXAMPLE_SW_REQUIREMENT
C_EXAMPLE -up[dotted]-> SWRQ_EXAMPLE_2_SW_REQUIREMENT.needpart
C_EXAMPLE -up-> SWRQ_EMBEDDED_PARENT_EXAMPLE_SW_REQUIREMENT
C_EXAMPLE -up-> SWRQ_EMBEDDED_CHILD_EXAMPLE_SW_REQUIREMENT
TF_EXAMPLE_0EA --> TF_EXAMPLE
TF_EXAMPLE_0EA_04394 --> TF_EXAMPLE
TF_EXAMPLE_0EA_04394 --> TF_EXAMPLE_0EA
TF_EXAMPLE_0EA_DA25A --> TF_EXAMPLE
TF_EXAMPLE_0EA_DA25A --> TF_EXAMPLE_0EA
TF_EXAMPLE_0EA_B3CC7 --> TF_EXAMPLE
TF_EXAMPLE_0EA_B3CC7 --> TF_EXAMPLE_0EA
TF_EXAMPLE_0EA_43FAD --> TF_EXAMPLE
TF_EXAMPLE_0EA_43FAD --> TF_EXAMPLE_0EA
TF_EXAMPLE_0EA_FE169 --> TF_EXAMPLE
TF_EXAMPLE_0EA_FE169 --> TF_EXAMPLE_0EA
TF_EXAMPLE_0EA_F94B1 --> TF_EXAMPLE
TF_EXAMPLE_0EA_F94B1 --> TF_EXAMPLE_0EA
TF_EXAMPLE_0EA_3D185 --> TF_EXAMPLE
TF_EXAMPLE_0EA_3D185 --> TF_EXAMPLE_0EA
TF_EXAMPLE_0EA_9945A --> TF_EXAMPLE
TF_EXAMPLE_0EA_9945A --> TF_EXAMPLE_0EA

@enduml

Test needflow

Let’s try to import needs via needimport:

Show how to use needextend:

Filter for imported needs with needtable:

Used filter:

Imported Needs

ID

Title

Status

Type

Outgoing

Tags

imp_test_item

Test Item

implemented

comp

artifact; imported