summaryrefslogtreecommitdiffstats
path: root/images/eng/req-spec-items.puml
blob: f837a85477da188841c0b0a9f45fa7c5e52d4a28 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
' SPDX-License-Identifier: CC-BY-SA-4.0

' Copyright (C) 2019 embedded brains GmbH

@startuml

class SpecificationItem {
  active
  derived
  enabled-by
  header
  level
  links
  normative
  rationale
  ref
  reviewed
  text
  type
}

class Interface {
  interface-category
  interface-type
}

class TestProcedure {
  platform
  steps
}

class TestCase {
  inputs
  outputs
}

class TestCase

note right: test cases not validating\na requirement are unit tests

SpecificationItem <|-- Requirement
Requirement <|-- Functional
Requirement <|-- NonFunctional
NonFunctional <|-- Interface
SpecificationItem <|-- TestProcedure
SpecificationItem <|-- TestSuite
SpecificationItem <|-- TestCase
SpecificationItem <|-- Validation\nByAnalysis
SpecificationItem <|-- Validation\nByInspection
SpecificationItem <|-- Validation\nByReviewOfDesign
SpecificationItem <|-- ValidationPlatform
TestProcedure "1..n" -- TestSuite : "run by"
TestSuite "1..n" -- TestCase : "contained in"
ValidationPlatform "1..n" -- TestProcedure : "requires"
Requirement "0..1" -- TestCase : "validates"
Requirement "1" -- Validation\nByAnalysis : "validates"
Requirement "1" -- Validation\nByInspection : "validates"
Requirement "1" -- Validation\nByReviewOfDesign : "validates"

@enduml