Component

Introdction

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

Requirements

Architecture Element

Reports

Table of sw_req within in this file

ID

Title

Status

Type

Outgoing

Tags

C_SWRQ_EMBEDDED_CHILD_EXAMPLE_SW_REQUIREMENT

Embedded Child Example Software Requirement

sw_req

C_SWRQ_EMBEDDED_PARENT_EXAMPLE_SW_REQUIREMENT

Embedded Parent Example Software Requirement

sw_req

C_SWRQ_EXAMPLE_2_SW_REQUIREMENT

Secound Example Software Requirement

sw_req

→ C_SWRQ_EXAMPLE_2_SW_REQUIREMENT.needpart

→  example text

sw_req

C_SWRQ_EXAMPLE_SW_REQUIREMENT

Example Software Requirement

sw_req

Table of elements within this prefix area

ID

Title

Status

Type

Outgoing

Tags

C_C_EXAMPLE

Example comp

comp

C_imp_test_item

Test Item

implemented

comp

artifact; imported

C_SWRQ_EMBEDDED_CHILD_EXAMPLE_SW_REQUIREMENT

Embedded Child Example Software Requirement

sw_req

C_SWRQ_EMBEDDED_PARENT_EXAMPLE_SW_REQUIREMENT

Embedded Parent Example Software Requirement

sw_req

C_SWRQ_EXAMPLE_2_SW_REQUIREMENT

Secound Example Software Requirement

sw_req

→ C_SWRQ_EXAMPLE_2_SW_REQUIREMENT.needpart

→  example text

sw_req

C_SWRQ_EXAMPLE_SW_REQUIREMENT

Example Software Requirement

sw_req

C_TF_EXAMPLE

Example for Test Results

testfile

C_TF_EXAMPLE_0EA

pytest

testsuite

C_TF_EXAMPLE_0EA_04394

test_merge_dictionaries

testcase

C_TF_EXAMPLE_0EA_3D185

test_merge_dictionaries_latest_defined_value_in

testcase

C_TF_EXAMPLE_0EA_43FAD

test_merge_dictionaries_no_dict_exception

testcase

C_TF_EXAMPLE_0EA_9945A

test_merge_many_dictionaries

testcase

C_TF_EXAMPLE_0EA_B3CC7

test_merge_dictionaries_double_defined_content

testcase

C_TF_EXAMPLE_0EA_DA25A

test_merge_dictionaries_different_content

testcase

C_TF_EXAMPLE_0EA_F94B1

test_merge_dictionaries_no_parameter

testcase

C_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_bc5f1.svg

@startuml

' Nodes definition 

artifact "<size:12>Software Requirement</size>\n**Example**\n**Software**\n**Requirement**\n<size:10>C_SWRQ_EXAMPLE_SW_REQUIREMENT</size>" as C_SWRQ_EXAMPLE_SW_REQUIREMENT [[../components/C/index.html#C_SWRQ_EXAMPLE_SW_REQUIREMENT]] #abcdef
artifact "<size:12>Software Requirement</size>\n**Secound Example**\n**Software**\n**Requirement**\n<size:10>C_SWRQ_EXAMPLE_2_SW_REQUIREMENT</size>" as C_SWRQ_EXAMPLE_2_SW_REQUIREMENT [[../components/C/index.html#C_SWRQ_EXAMPLE_2_SW_REQUIREMENT]] #abcdef{
'parts:
rectangle "<size:12>Software Requirement (part)</size>\n** example text**\n<size:10>C_SWRQ_EXAMPLE_2_SW_REQUIREMENT.**needpart**</size>" as C_SWRQ_EXAMPLE_2_SW_REQUIREMENT.needpart [[../components/C/index.html#C_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>C_SWRQ_EMBEDDED_PARENT_EXAMPLE_SW_REQUIREMENT</size>" as C_SWRQ_EMBEDDED_PARENT_EXAMPLE_SW_REQUIREMENT [[../components/C/index.html#C_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>C_SWRQ_EMBEDDED_CHILD_EXAMPLE_SW_REQUIREMENT</size>" as C_SWRQ_EMBEDDED_CHILD_EXAMPLE_SW_REQUIREMENT [[../components/C/index.html#C_SWRQ_EMBEDDED_CHILD_EXAMPLE_SW_REQUIREMENT]] #abcdef
}
component "<size:12>Component</size>\n**Example comp**\n<size:10>C_C_EXAMPLE</size>" as C_C_EXAMPLE [[../components/C/index.html#C_C_EXAMPLE]] #abcdef
component "<size:12>Component</size>\n**Test Item**\n<size:10>C_imp_test_item</size>" as C_imp_test_item [[../components/C/index.html#C_imp_test_item]] #abcdef
node "<size:12>Test-File</size>\n**Example for**\n**Test Results**\n<size:10>C_TF_EXAMPLE</size>" as C_TF_EXAMPLE [[../components/C/index.html#C_TF_EXAMPLE]] #ffffff
folder "<size:12>Test-Suite</size>\n**pytest**\n<size:10>C_TF_EXAMPLE_0EA</size>" as C_TF_EXAMPLE_0EA [[../components/C/index.html#C_TF_EXAMPLE_0EA]] #cccccc
rectangle "<size:12>Test-Case</size>\n**test_merge_dict**\n**ionaries**\n<size:10>C_TF_EXAMPLE_0EA_04394</size>" as C_TF_EXAMPLE_0EA_04394 [[../components/C/index.html#C_TF_EXAMPLE_0EA_04394]] #999999
rectangle "<size:12>Test-Case</size>\n**test_merge_dict**\n**ionaries_differ**\n**ent_content**\n<size:10>C_TF_EXAMPLE_0EA_DA25A</size>" as C_TF_EXAMPLE_0EA_DA25A [[../components/C/index.html#C_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>C_TF_EXAMPLE_0EA_B3CC7</size>" as C_TF_EXAMPLE_0EA_B3CC7 [[../components/C/index.html#C_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>C_TF_EXAMPLE_0EA_43FAD</size>" as C_TF_EXAMPLE_0EA_43FAD [[../components/C/index.html#C_TF_EXAMPLE_0EA_43FAD]] #999999
rectangle "<size:12>Test-Case</size>\n**test_merge_empt**\n**y_dictionaries**\n<size:10>C_TF_EXAMPLE_0EA_FE169</size>" as C_TF_EXAMPLE_0EA_FE169 [[../components/C/index.html#C_TF_EXAMPLE_0EA_FE169]] #999999
rectangle "<size:12>Test-Case</size>\n**test_merge_dict**\n**ionaries_no_par**\n**ameter**\n<size:10>C_TF_EXAMPLE_0EA_F94B1</size>" as C_TF_EXAMPLE_0EA_F94B1 [[../components/C/index.html#C_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>C_TF_EXAMPLE_0EA_3D185</size>" as C_TF_EXAMPLE_0EA_3D185 [[../components/C/index.html#C_TF_EXAMPLE_0EA_3D185]] #999999
rectangle "<size:12>Test-Case</size>\n**test_merge_many**\n**_dictionaries**\n<size:10>C_TF_EXAMPLE_0EA_9945A</size>" as C_TF_EXAMPLE_0EA_9945A [[../components/C/index.html#C_TF_EXAMPLE_0EA_9945A]] #999999

' Connection definition 

C_C_EXAMPLE -up-> C_SWRQ_EXAMPLE_SW_REQUIREMENT
C_C_EXAMPLE -up[dotted]-> C_SWRQ_EXAMPLE_2_SW_REQUIREMENT.needpart
C_C_EXAMPLE -up-> C_SWRQ_EMBEDDED_PARENT_EXAMPLE_SW_REQUIREMENT
C_C_EXAMPLE -up-> C_SWRQ_EMBEDDED_CHILD_EXAMPLE_SW_REQUIREMENT
C_TF_EXAMPLE_0EA --> C_TF_EXAMPLE
C_TF_EXAMPLE_0EA_04394 --> C_TF_EXAMPLE
C_TF_EXAMPLE_0EA_04394 --> C_TF_EXAMPLE_0EA
C_TF_EXAMPLE_0EA_DA25A --> C_TF_EXAMPLE
C_TF_EXAMPLE_0EA_DA25A --> C_TF_EXAMPLE_0EA
C_TF_EXAMPLE_0EA_B3CC7 --> C_TF_EXAMPLE
C_TF_EXAMPLE_0EA_B3CC7 --> C_TF_EXAMPLE_0EA
C_TF_EXAMPLE_0EA_43FAD --> C_TF_EXAMPLE
C_TF_EXAMPLE_0EA_43FAD --> C_TF_EXAMPLE_0EA
C_TF_EXAMPLE_0EA_FE169 --> C_TF_EXAMPLE
C_TF_EXAMPLE_0EA_FE169 --> C_TF_EXAMPLE_0EA
C_TF_EXAMPLE_0EA_F94B1 --> C_TF_EXAMPLE
C_TF_EXAMPLE_0EA_F94B1 --> C_TF_EXAMPLE_0EA
C_TF_EXAMPLE_0EA_3D185 --> C_TF_EXAMPLE
C_TF_EXAMPLE_0EA_3D185 --> C_TF_EXAMPLE_0EA
C_TF_EXAMPLE_0EA_9945A --> C_TF_EXAMPLE
C_TF_EXAMPLE_0EA_9945A --> C_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

C_imp_test_item

Test Item

implemented

comp

artifact; imported